-
Notifications
You must be signed in to change notification settings - Fork 2.9k
com.example.spanner.SpannerSampleIT: testSample failed #5156
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
Comments
Looks like this issue is flaky. 😟 I'm going to leave this open and stop commenting. A human should fix and close this. When run at the same commit (d7cfb2d), this test passed in one build (Build Status, Sponge) and failed in another build (Build Status, Sponge). |
This problem is probably caused because of temporary slowness of either the backend or the client itself. What this test does is the following:
The above steps should normally produce the data that was in the table after the insert in step 1, and without the update in step 3. However, if for some reason the client is slowed down a lot between step 3 and 4, or the backend is very slow to respond to the query request in step 4, it could be that more than 15 seconds has elapsed since the update in step 3 was executed. That will produce unexpected results for the query in step 4. Fixing this in a 100% watertight way without changing the sample itself seems to be impossible. I would suggest:
@skuruppu @thiagotnunes Any thoughts on the above? |
Hey @olavloite thanks for the analysis. I would vote for option (2), since it brings us closer to where we would like the samples to be. I would, however, add a small change: increase the waiting time in step (2) to reduce the flaky behaviour. |
Oh wait, I just realised these failures are in the |
@thiagotnunes any updates for this? |
@zoercai we will remove the |
directory removed. |
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the
flakybot: quiet
label andI will stop commenting.
commit: d7cfb2d
buildURL: Build Status, Sponge
status: failed
Test output
The text was updated successfully, but these errors were encountered: