-
Notifications
You must be signed in to change notification settings - Fork 146
end-to-end tests: refactor and fix flaky tests #2470
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
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
aaf932f
chore(end-to-end): make `DecodeRPC` not test aware
qdm12 565330a
chore(end-to-end): make RPC helpers not test aware
qdm12 001e989
chore(end-to-end): `waitForNode` context based function
qdm12 1890624
chore(end-to-end); use `t.TempDir()` for base paths
qdm12 aa1668a
chore(end-to-end): `GenerateGenesisAuths`
qdm12 6ec6b70
chore(end-to-end): remove global variables `GenesisDefault` and `Gene…
qdm12 fff9b1b
chore(end-to-end): remove global framework variable
qdm12 c7e718d
chore(end-to-end): remove global configuration variables
qdm12 9d96dd0
chore(end-to-end): remove global variable `GenesisTwoAuthsSecondaryVR…
qdm12 dc6952c
chore(end-to-end): inline RPC method strings
qdm12 440d36f
chore(end-to-end): remove `HOSTNAME` variable
qdm12 f174620
chore(end-to-end): remove `DecodeRPC_NT`
qdm12 fb73229
chore(end-to-end): split `tests/utils` package
qdm12 ab3e4e2
chore(end-to-end): rework start and stop of nodes
qdm12 0ffec90
chore(end-to-end): refactor `getResponse`
qdm12 bab313d
chore(end-to-end): remove global variables in stress tests
qdm12 37482c6
chore(end-to-end): `retry.UntilNoError` function
qdm12 fcad087
chore(end-to-end): refactor `TestSystemRPC`
qdm12 4cd02d7
fix(end-to-end): `TestSync_SingleBlockProducer` not flaky
qdm12 65f0bda
chore(end-to-end): Faster `TestAuthorSubmitExtrinsic`
qdm12 e19112a
chore(end-to-end): only use Toml configuration
qdm12 85b2bdb
chore(end-to-end): wrap runtime error for init
qdm12 d6f16d8
Do not assert best block number and hash for now
qdm12 204ffb7
chore(dot): remove `exportConfig` and `TestExportConfig`
qdm12 aa0ab13
chore(dot): remove `ExportTomlConfig` and its test
qdm12 5b1a38c
chore(e2e): install npm dependencies from Go code
qdm12 ca61882
chore(tests/rpc): remove 1s sleep
qdm12 5ea98fe
chore(tests/stress): replace `compareFinalizedHeadsWithRetry` with `r…
qdm12 501cbb9
fix(tests/utils/node): reset log before starting command
qdm12 33b68f5
chore(tests): getters without `Get` prefix
qdm12 9f731fa
chore(tests/utils/retry): shared common code
qdm12 a1708ee
chore(tests): remove `websocket` package
qdm12 47b2f98
chore(tests/utils/rpc): change error wrapping to `malformed block hea…
qdm12 d85fc1e
chore(tests/utils/rpc): fix the bloody body
qdm12 20ae819
Return runtime error channels instead of injecting them
qdm12 a298950
Simplify `MakeNodes` to use `New` for each node
qdm12 f360f5a
Init in parallel for all code paths
qdm12 cd04c44
Update tests/utils/runtime/errors.go
qdm12 3d82658
Move errors.go from `runtime` to `node` package
qdm12 6bbb186
Unexport all `errorsFanIn` types and methods
qdm12 7bece96
Rename rpc/models.go to rpc/types.go
qdm12 dffb642
`TestRestartNode`: helper `stopNodes` function
qdm12 e936970
Do not use reflect
qdm12 ee48c78
Refactor `TestChainSubscriptionRPC`
qdm12 f0e0187
Merge stable workflow in rpc workflow
qdm12 b35877f
Log out configuration file content on runtime error
qdm12 c1271b2
Restore sleep between launches for stable tests
qdm12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.