Repository navigation
Commit c7bd7ec
committed
Fix flaky sessionIsEvictedWhenTheClientAbortsAResponseStream
With a zero initial delay, the Tomcat request thread fired the tool's
first tick and could keep processing the virtual-time queue. Then
advanceTimeBy() on the test thread returned before the sweeps ran.
Delaying the first tick keeps the ticks and sweeps on the test thread.
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>1 parent ff871a4 commit c7bd7ec
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- mcp-test/src/test/java/io/modelcontextprotocol/server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
| 575 | + | |
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| |||
0 commit comments