Skip to content
Merged
Show file tree
Hide file tree
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 @@ -70,7 +70,7 @@ private static byte[] toBytes(int i) {
return b;
}

@Test(timeout = 300000)
@Test
public void testSimpleWrite() throws Exception {
runWithNewCluster(NUM_SERVERS, this::runTestSimpleWrite);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,17 @@ public abstract class DataStreamAsyncClusterTests<CLUSTER extends MiniRaftCluste
extends DataStreamClusterTests<CLUSTER> {
final Executor executor = Executors.newFixedThreadPool(16);

@Override
public int getGlobalTimeoutSeconds() {
return 300;
}

@Test
public void testMultipleStreamsSingleServer() throws Exception {
runWithNewCluster(1, this::runTestDataStream);
}

@Test(timeout = 300000)
@Test
public void testMultipleStreamsMultipleServers() throws Exception {
// Avoid changing leader
final TimeDuration min = RaftServerConfigKeys.Rpc.timeoutMin(getProperties());
Expand All @@ -68,7 +73,7 @@ public void testMultipleStreamsMultipleServers() throws Exception {
RaftServerConfigKeys.Rpc.setTimeoutMax(getProperties(), max);
}

@Test(timeout = 300000)
@Test
public void testMultipleStreamsMultipleServersStepDownLeader() throws Exception {
runWithNewCluster(3, this::runTestDataStreamStepDownLeader);
}
Expand Down