Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinPostma committed Oct 9, 2024
1 parent 21ae561 commit 56e152f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libsql-server/tests/cluster/replication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ fn replica_interactive_transaction() {
.unwrap();
tx.commit().await.unwrap();

// libsql-client doesn't support read your writes yet
tokio::time::sleep(Duration::from_secs(1)).await;

let count = conn
.query("select count(0) from test", ())
.await
Expand Down

0 comments on commit 56e152f

Please sign in to comment.