-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
Aborting test during VU initializaiton doesn't get propagated to outputs #1423
Comments
I took a look at this, and forgive my ignorance, but is there a reason collectors couldn't be initialized after VUs? Something like c096ec0 . This seems like the easiest fix to In the case of the Otherwise, I'll likely go with option 2. from the proposed fixes. |
I experimented with the second suggestion of passing a context to So I abandoned that in favor of a simple Let me know if either approach would address this issue and I'll create a PR. |
Hmm I'm not sure this is viable, even as a short term fix? We show the output, including the cloud test run URL in the UI Regarding the other proposed solutions, I think that I prefer to leave changing the |
Agreed, though 4619f64 seemed like the simplest fix for this, at the expense of some additional (but trivial) cleanup we'll have to do anyway. @mstoykov's second proposal would also require a slight change to the But OK, let's revisit this for v0.28.0 and hopefully it will be more straightforward then. |
Closed by #1869 |
In the new-schedulers(new-executors) there are a lot changes around this and we either broke it or made it more likely, but if during the initialization of the VUs you figure something is wrong and ^C to exit, the metric outputs won't realize that as they won't be running yet.
This is specifically bad with the cloud output as there a test will be created and then no aborted, but it is actually a general design problem.
Possible fixes are:
1.1. There is still time after the Init, but before it was run
1.2. runMetricsEmission shouldn't run before the test actually start as it emits VUs count ... so it will probably be bigger change :(
The text was updated successfully, but these errors were encountered: