-
Notifications
You must be signed in to change notification settings - Fork 28
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
Make integration-tests stable #761
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #761 +/- ##
==========================================
- Coverage 33.14% 33.12% -0.02%
==========================================
Files 169 169
Lines 48122 48141 +19
==========================================
Hits 15948 15948
- Misses 29145 29164 +19
Partials 3029 3029 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @dzmitryhil, @miladz68, and @wojtek-coreum)
pkg/client/tx.go
line 297 at r2 (raw file):
} if err := AwaitTargetHeight(ctx, clientCtx, txResponse.Height+3); err != nil {
waiting for 3 extra blocks helps and makes test stable in CI
if you are ok with this approach I can move this (block number to wait) into TimeoutConfig
structure.
I propose to use 3 for integration-tests and for now 0 by default inside client because I'm not sure if this should be behaviour of default client.
We can live with this solution inside integration-tests for some time and see if this resolves our issue because right now I tried to run CI for ~10 times and had no failures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 2 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dzmitryhil, @wojtek-coreum, and @ysv)
pkg/client/tx.go
line 297 at r2 (raw file):
Previously, ysv (Yaroslav Savchuk) wrote…
waiting for 3 extra blocks helps and makes test stable in CI
if you are ok with this approach I can move this (block number to wait) into
TimeoutConfig
structure.
I propose to use 3 for integration-tests and for now 0 by default inside client because I'm not sure if this should be behaviour of default client.We can live with this solution inside integration-tests for some time and see if this resolves our issue because right now I tried to run CI for ~10 times and had no failures
I think it is ok for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dzmitryhil, @wojtek-coreum, and @ysv)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 3 of 7 files reviewed, all discussions resolved (waiting on @dzmitryhil, @miladz68, and @wojtek-coreum)
pkg/client/tx.go
line 297 at r2 (raw file):
Previously, miladz68 (milad) wrote…
I think it is ok for now.
ok, moved it to a separate config & fixed some one issue in tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @dzmitryhil and @wojtek-coreum)
Description
Reviewers checklist:
Authors checklist
This change is