File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/github/copilot/sdk Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ static void teardown() throws Exception {
5656 * compaction/should_trigger_compaction_with_low_threshold_and_emit_events
5757 */
5858 @ Test
59- @ Timeout (value = 120 , unit = TimeUnit .SECONDS )
59+ @ Timeout (value = 300 , unit = TimeUnit .SECONDS )
6060 void testShouldTriggerCompactionWithLowThresholdAndEmitEvents () throws Exception {
6161 ctx .configureForTest ("compaction" , "should_trigger_compaction_with_low_threshold_and_emit_events" );
6262
@@ -96,8 +96,8 @@ void testShouldTriggerCompactionWithLowThresholdAndEmitEvents() throws Exception
9696
9797 // Wait for compaction to complete - it may arrive slightly after sendAndWait
9898 // returns due to async event delivery from the CLI
99- assertTrue (compactionCompleteLatch .await (10 , TimeUnit .SECONDS ),
100- "Should have received a compaction complete event within 10 seconds" );
99+ assertTrue (compactionCompleteLatch .await (30 , TimeUnit .SECONDS ),
100+ "Should have received a compaction complete event within 30 seconds" );
101101 long compactionStartCount = events .stream ().filter (e -> e instanceof SessionCompactionStartEvent ).count ();
102102 long compactionCompleteCount = events .stream ().filter (e -> e instanceof SessionCompactionCompleteEvent )
103103 .count ();
You can’t perform that action at this time.
0 commit comments