From 21d1781ef9a47139b4509af3026e371081af58b4 Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Sun, 20 Jul 2025 23:48:54 +0300 Subject: [PATCH] fix/test: fix and unignore incorrectly implemented test --- tests/integration/common.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/common.rs b/tests/integration/common.rs index da5227a58..9a36a6c96 100644 --- a/tests/integration/common.rs +++ b/tests/integration/common.rs @@ -420,8 +420,6 @@ mod tests { } #[test] - #[ignore] - /// FIXME: This test fails. /// Test that a transaction cannot read committed changes that were committed after the transaction started (no: READ COMMITTED) fn test_tx_isolation_no_read_committed() -> anyhow::Result<()> { let path = TempDir::new() @@ -438,6 +436,8 @@ mod tests { // Begin transaction on first connection let _ = limbo_exec_rows(&db, &conn1, "BEGIN"); + let ret = limbo_exec_rows(&db, &conn1, "SELECT x FROM t"); + assert!(ret.is_empty(), "Expected 0 rows but got {ret:?}"); // Commit a value from the second connection let conn2 = db.connect_limbo();