Skip to content

Commit 57a37c9

Browse files
author
Roberto Santalla
authored
disruptor/examples/http: update in-text snippets to match source code (#1250)
This fixes backwards startTimes in load/disrupt scenarios
1 parent 9e6189c commit 57a37c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/data/markdown/docs/40 xk6-disruptor/04 Examples/02 Inject HTTP faults into Pod.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,17 @@ This test defines two [scenarios](https://k6.io/docs/using-k6/scenarios) to be e
9393
preAllocatedVUs: 10,
9494
maxVUs: 100,
9595
exec: "default",
96-
startTime: '0s',
96+
startTime: "0s",
9797
duration: "30s",
9898
},
9999
disrupt: {
100100
executor: 'shared-iterations',
101101
iterations: 1,
102102
vus: 1,
103103
exec: "disrupt",
104-
startTime: "30s",
105-
}
106-
}
104+
startTime: "0s",
105+
},
106+
}
107107
```
108108

109109
<Blockquote mod="note">
@@ -306,7 +306,7 @@ export const options = {
306306
preAllocatedVUs: 10,
307307
maxVUs: 100,
308308
exec: "default",
309-
startTime: '0s',
309+
startTime: "0s",
310310
duration: "30s",
311311
},
312312
disrupt: {

0 commit comments

Comments
 (0)