Skip to content

Commit

Permalink
Update some foundations tests to k6 v0.54
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano committed Oct 8, 2024
1 parent b52ab52 commit a37ab41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k6/foundations/13.basic.websockets.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { sleep } from 'k6';
import { WebSocket } from 'k6/experimental/websockets';
import { setInterval } from 'k6/experimental/timers';
import { setInterval } from 'k6/timers';
import { Counter } from "k6/metrics";

let BASE_URL = __ENV.BASE_URL || 'http://localhost:3333';
Expand Down
2 changes: 1 addition & 1 deletion k6/foundations/15.basic.profiling.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import http from "k6/http";
import { check, sleep } from "k6";
import pyroscope from "https://jslib.k6.io/http-instrumentation-pyroscope/1.0.0/index.js";
import pyroscope from "https://jslib.k6.io/http-instrumentation-pyroscope/1.0.1/index.js";

const BASE_URL = __ENV.BASE_URL || "http://localhost:3333";

Expand Down

0 comments on commit a37ab41

Please sign in to comment.