Skip to content
Merged
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 @@ -54,7 +54,7 @@ public void tearDown() throws Exception {

@Test
@Category({ClusterTest.class})
public void testTTL() throws SQLException {
public void testTTL() throws SQLException, InterruptedException {
try (Connection connection = EnvFactory.getEnv().getConnection();
Statement statement = connection.createStatement()) {
try {
Expand Down Expand Up @@ -126,6 +126,8 @@ public void testTTL() throws SQLException {
}

statement.execute("UNSET TTL TO root.TTL_SG1");
// make sure other nodes have applied UNSET TTL
Thread.sleep(1000);
for (int i = 0; i < 100; i++) {
statement.execute(
String.format(
Expand Down