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
sporadic postgrest-test-spec failure in Feature.Query.PlanSpec #2664
Comments
Hmm, this shows in CI now on the PR #2663. I think I got it to happen reliably on |
Hm, I thought these values would be stable when doing the tests. Maybe they should be changed to just test the keys and not the values.. |
They seem to have been around for a while without causing issues, curious they would show up now. I'll prepare a PR to just update to the latest upstream |
So the test fails pretty reliably if I run only that test, via
Which kind of makes sense, since then postgresql is more likely to be caching something. (Though I'm a bit fuzzy to what extent this spins up its own isolated postgres instance...) Anyway, @steve-chavez if you get a chance could you run that command a couple times in your dev setup to see if it's the same for you? In general I agree that it's probably best not to test these values, since there's not really any apparent reason to expect them to be stable. |
@robx Hm, how does that command run for you? I get:
|
Oops, typo, sorry. It's |
No problem, it fails for me too:
Yeah, so then we shouldn't be testing the values. |
Environment
withPg
)Description of issue
I often see one test failure when running
postgrest-test-spec
.This fails because the value "Shared Hit Blocks" is non-zero, contrary to expectation. The precise value varies.
The text was updated successfully, but these errors were encountered: