-
Notifications
You must be signed in to change notification settings - Fork 15
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
Intermittent test failure: test___streaming_measurement_execution___cancel___cancels_measurement
#910
Comments
@bkeryan, I am not sure of any direct way to get signal from an event from the test measurement before cancelling the measurement.
Could you please share your thoughts on this approach? |
@Jotheeswaran-Nandagopal First, find the root cause and explain it, then propose a fix.
Two options:
|
@bkeryan I ran the test locally 5000 times with no failures, so it will be hard to validate the fix locally. Maybe we just implement one of the solutions and watch the test for a while on the PR? Would you be able to take this bug and implement a fix? I'm not sure if there's any easy way to see the history for this test so we can watch for it to stop failing or see exactly how often it's failing on the test machines. |
If we can't reproduce it, then let's close it as not reproducible. |
Cannot reproduce |
Bug Report
test___streaming_measurement_execution___cancel___cancels_measurement
failed in the PR build.Repro or Code Sample
Run PR workflow.
Expected Behavior
Tests pass.
Current Behavior
https://github.com/ni/measurement-plugin-python/actions/runs/10966811168/job/30455562171
Possible Solution
If the root cause is that the RPC is canceled before it starts, then it may help to have the test measurement signal an event and have the test wait for the event, as previously suggested: #870 (comment)
Context
Test failed for unrelated PR.
AB#2863572
The text was updated successfully, but these errors were encountered: