Use Toxiproxy for failover testing (#44)

* Toxiproxy

* up-to-date config

* debug

* hm

* more

* mroe

* more

* hmm

* aha

* less logs

* cleaner

* hmm

* we test these now

* update readme
This commit is contained in:
Lev Kokotov
2022-02-24 20:55:19 -08:00
committed by GitHub
parent a784883611
commit 6db51b4a11
4 changed files with 158 additions and 17 deletions

View File

@@ -311,7 +311,7 @@ impl Client {
// or until the client disconnects if we are in session mode.
loop {
let mut message = if message.len() == 0 {
debug!("Waiting for message inside transaction or in session mode");
trace!("Waiting for message inside transaction or in session mode");
match read_message(&mut self.read).await {
Ok(message) => message,