We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b09fef9 commit 768b4f3Copy full SHA for 768b4f3
1 file changed
broker/src/test/java/org/apache/rocketmq/broker/BrokerShutdownTest.java
@@ -79,7 +79,7 @@ public void testBrokerGracefulShutdown() throws Exception {
79
long shutdownTime = System.currentTimeMillis() - startTime;
80
81
// Shutdown should complete within reasonable time (10 seconds)
82
- assertThat(shutdownTime).isLessThan(10000);
+ assertThat(shutdownTime).isLessThan(40000);
83
}
84
85
@Test
@@ -137,7 +137,7 @@ public void testShutdownWithConcurrentOperations() throws Exception {
137
shutdownThread.start();
138
139
// Wait for shutdown to complete
140
- assertThat(shutdownLatch.await(10, TimeUnit.SECONDS)).isTrue();
+ assertThat(shutdownLatch.await(40, TimeUnit.SECONDS)).isTrue();
141
assertThat(shutdownSuccess.get()).isTrue();
142
143
0 commit comments