We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blacklistIPs
We recently noticed an error parsing the blacklistIPs option in the Cloud, see https://loadimpact.slack.com/archives/CM53T6UFJ/p1625472145025000.
The error is:
json: cannot unmarshal object into Go struct field Options.options.blacklistIPs of type *lib.IPNet
This is similar to #973, but it seems #1004 didn't fully address the issue and we might also need a MarshalText() implementation.
MarshalText()
The option shouldn't cause an Aborted by script error and should work in the Cloud as well.
Aborted by script error
The test run is Aborted by script.
Aborted by script
Run a script like the following in the Cloud (via the web UI):
import { sleep } from 'k6'; export const options = { blacklistIPs: ['10.0.0.0/8'], vus: 1, duration: '30s', } export default function () { sleep(30); }
The text was updated successfully, but these errors were encountered:
codebien
Successfully merging a pull request may close this issue.
We recently noticed an error parsing the
blacklistIPs
option in the Cloud, see https://loadimpact.slack.com/archives/CM53T6UFJ/p1625472145025000.The error is:
This is similar to #973, but it seems #1004 didn't fully address the issue and we might also need a
MarshalText()
implementation.Environment
Expected Behavior
The option shouldn't cause an
Aborted by script error
and should work in the Cloud as well.Actual Behavior
The test run is
Aborted by script
.Steps to Reproduce the Problem
Run a script like the following in the Cloud (via the web UI):
The text was updated successfully, but these errors were encountered: