Skip to content

Commit 6880482

Browse files
Copilotbrunoborges
andcommitted
Fix CompactionTest prompt mismatch causing sendAndWait timeout
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
1 parent 20dbaaf commit 6880482

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/github/copilot/sdk/CompactionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void testShouldTriggerCompactionWithLowThresholdAndEmitEvents() throws Exception
8080
// Send multiple messages to fill up the context window
8181
// With such low thresholds, even a few messages should trigger compaction
8282
session.sendAndWait(
83-
new MessageOptions().setPrompt("Tell me a long story about a dragon. Be very detailed."))
83+
new MessageOptions().setPrompt("Tell me a story about a dragon. Be detailed."))
8484
.get(60, TimeUnit.SECONDS);
8585
session.sendAndWait(
8686
new MessageOptions().setPrompt("Continue the story with more details about the dragon's castle."))

0 commit comments

Comments
 (0)