-
Notifications
You must be signed in to change notification settings - Fork 96
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
VM interface (API) is not synchonized #313
Comments
Removing {VM.list} is not enough. The same issue arises with VM.getStream where the stream contains events from previous test. These tests need a major rewrite. Disabling for now. |
Thanks for the report.
@layus It's been a while, how do you execute those tests? |
Exactly :-)
You can also You will need
Run the tests in parallel to increase the load on the machine. I had good results with this one ;-)
|
I did the more basic thing of executing each test 10 times and found a bug (this first VM in the |
There is an issue with the VM interface, or with the VM tests.
There is no synchronization in the VM implementation to ensure that the vm is really started after
VM.start
, nor that it is really stopped afterVM.kill
. The tests rely on this behavior, and fail randomly depending on scheduling.Basically, all the calls to VM.list are unsafe, as the vm could finish before that call or linger from a previous test.
The text was updated successfully, but these errors were encountered: