Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 committed Jan 5, 2024
1 parent e0a105d commit b02656d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e_test/batch/transaction/same_session.slt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ insert into t select i from generate_series(1, 100, 1) i;
statement ok
flush

# we don't use flush and test in the same session whether delete and insert overlap.
# we don't use flush between delete and insert to test in the same session whether delete and insert overlap.
statement ok
delete from t;

statement ok
insert into t select i from generate_series(1, 100, 1) i;

sleep 2s
statement ok
flush

# Should be no overlap
query I
Expand Down

0 comments on commit b02656d

Please sign in to comment.