Skip to content

Commit

Permalink
Fix flake in statement logging test. (#24185)
Browse files Browse the repository at this point in the history
The 5-second wait seems to sometimes not be enough; see e.g.
https://github.com/MaterializeInc/materialize/issues/24041

Hopefully this will fix that issue. If not, we will need to do something
more principled (e.g. make the logging timer configurable)
  • Loading branch information
umanwizard authored Jan 3, 2024
1 parent 8f13eb8 commit 3ada8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environmentd/tests/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ fn test_statement_logging_immediate() {
}

// Statement logging happens async, give it a chance to catch up
thread::sleep(Duration::from_secs(5));
thread::sleep(Duration::from_secs(10));

let mut client = server.connect_internal(postgres::NoTls).unwrap();
let sl = client
Expand Down

0 comments on commit 3ada8fb

Please sign in to comment.