-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the cassandra tests for broken connections
- Create a test to ensure the config survives restarts of cqerl_cluster - Create a simplified version of the broken connection test that would not fail randomly. - Improve the stress test for broken connections - Delete data from the DB for better repeatability (the queries were getting slower because of more data, resulting in timeouts) - Repeat failed queries to check if the connections recover - Disable the stress test on CI as it can fail (unlikely but possible) The stress test was run 100 times locally with various intervals for the network failure. It survived the test even with the interval of 1 second, but with many failed queries (this was quite expected). For 5 seconds it was not possible to cause a failed query locally.
- Loading branch information
Showing
1 changed file
with
62 additions
and
15 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