Skip to content

Commit 1a20534

Browse files
committed
Fix k6 timeout
1 parent 5a45431 commit 1a20534

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

spec/performance/bench.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,10 @@ def server_responding?(uri)
204204
205205
export const options = {
206206
scenarios: #{k6_scenarios},
207-
httpReq: {
208-
timeout: '#{REQUEST_TIMEOUT}',
209-
},
210207
};
211208
212209
export default function () {
213-
const response = http.get('#{TARGET}');
210+
const response = http.get('#{TARGET}', { timeout: '#{REQUEST_TIMEOUT}' });
214211
check(response, {
215212
'status=200': r => r.status === 200,
216213
// you can add more if needed:

0 commit comments

Comments
 (0)