-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing sharding integration tests (#668)
* create data dir as well on 'cargo make run', as db creation can fail without it * add option for file truncation in tracing config * fix file truncation in tracing * flush redis in sharding coordinated scenario * temp tweaks for testing sharding * quickfix for drifting worker-executor assignments * add with_env_overrides to tracing config to support env vars in tests * make fix * cleanup sharding-tests-debug * extract EnvBasedTestDependenciesConfig * add number_of_shards_override to EnvBasedTestDependenciesConfig * set number of shard from test in sharding integ tests * remove docker containers by default and add option to keep them for debugging * fix redis flushing and shard manager restart + send env command cleanup * rename (add blocking_new prefix) * flush redis at the start * fix naming: "shards" -> worker_executor * more naming / cleanups * move and extract sharding specific test dependency functions into Deps + cleanups * check fixes * add option for changing the number of shards on (spawned) shard-manager restarts * hide forwarded logs in sharding debug (as most of the logs go into files) * add Step::invoke_and_await to help defining interleave patterns * reorder to pull up coordinated tests * extract scenario fragment and add more variants * temp increase timeout * remove exact test filter from sharding-tests-debug * rename / ignore tests * fix sharding manager restart to remember number_of_shards_override and re-enable tests * add / cleanup ShardService debug logs * use JoinSet in sharding test's invoke_and_await_workers * cleanup messages * add combined scenarios, drop some from the simple ones * fix cli tests deps * fix cli tests deps * tweak test cases * log error before panic * add more connection error patterns * refactor is_connection_failure into IsRetriableError and use typed errors * decrease retries to be faster on CI * decrease retries even more for now on CI, but add option to override it locally with env var
- Loading branch information
Showing
39 changed files
with
1,086 additions
and
495 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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.