Skip to content
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

go/e2e/workload-queries: allow historical QueryTxs to fail few times #3338

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Sep 29, 2020

A QueryTxs in the daily E2E tests will fail in case it's done for a height for which active storage nodes are missing historical state due to restoring from snapshots (#3337). Note: for this to happen also the storage-0 needs to not be in the committee for the epoch (since storage-0 is never restarted it has all the state), and the other storage node (which likely has the state) is down (e.g. due to just being restarted), therefore this should happen rarely.
This makes the E2E test not fail in those cases.

@ptrus ptrus force-pushed the ptrus/feature/workload-queries-fail branch from 98efc41 to 3ed2895 Compare September 29, 2020 13:12
@codecov
Copy link

codecov bot commented Sep 29, 2020

Codecov Report

Merging #3338 into master will decrease coverage by 0.31%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3338      +/-   ##
==========================================
- Coverage   65.59%   65.27%   -0.32%     
==========================================
  Files         371      371              
  Lines       33151    33151              
==========================================
- Hits        21745    21640     -105     
- Misses       8227     8312      +85     
- Partials     3179     3199      +20     
Impacted Files Coverage Δ
go/common/grpc/errors.go 72.34% <0.00%> (-12.77%) ⬇️
go/staking/api/grpc.go 51.26% <0.00%> (-7.57%) ⬇️
go/storage/client/client.go 66.83% <0.00%> (-5.53%) ⬇️
go/consensus/tendermint/apps/staking/query.go 35.71% <0.00%> (-4.77%) ⬇️
go/runtime/tagindexer/tagindexer.go 66.27% <0.00%> (-4.66%) ⬇️
go/storage/metrics.go 80.00% <0.00%> (-4.62%) ⬇️
go/consensus/tendermint/full/services.go 81.35% <0.00%> (-4.24%) ⬇️
go/consensus/tendermint/apps/staking/state/gas.go 81.13% <0.00%> (-3.78%) ⬇️
go/consensus/tendermint/abci/mux.go 50.65% <0.00%> (-3.38%) ⬇️
go/storage/api/root_cache.go 78.33% <0.00%> (-3.34%) ⬇️
... and 21 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d55c37...3ed2895. Read the comment docs.

@ptrus ptrus merged commit ee5041e into master Sep 29, 2020
@ptrus ptrus deleted the ptrus/feature/workload-queries-fail branch September 29, 2020 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants