Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ public void testBasicDoubleLiving() {
TestUtils.executeNonQuery(
senderEnv, String.format("insert into root.db.d1(time, s1) values (%s, 1)", i), conn);
}
} catch (SQLException e) {
throw new RuntimeException(e);
}

try (Connection conn = receiverEnv.getConnection()) {
// insertion on receiver
for (int i = 200; i < 300; ++i) {
TestUtils.executeNonQuery(
receiverEnv, String.format("insert into root.db.d1(time, s1) values (%s, 1)", i), conn);
Expand All @@ -183,6 +189,8 @@ public void testBasicDoubleLiving() {

TableModelUtils.insertData("test", "test", 100, 200, senderEnv);

TableModelUtils.assertData("test", "test", 0, 200, receiverEnv, handleFailure);

TableModelUtils.insertData("test", "test", 200, 300, receiverEnv);

TestUtils.executeNonQuery(senderEnv, "flush", null);
Expand Down
Loading