Skip to content

Commit f4b677e

Browse files
authored
deal with hanging test (#18411)
1 parent 2408d66 commit f4b677e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/FSharp.Compiler.ComponentTests/CompilerService/AsyncMemoize.fs

+2-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ let ``Cancel running jobs with the same key`` () =
430430
let current = eventsWhen events (received Requested)
431431
Assert.Equal(0, current |> countOf Canceled)
432432

433-
waitUntil events (countOf Canceled >> (=) 10)
433+
// waitUntil events (countOf Canceled >> (=) 10)
434434

435435
waitUntil events (received Started)
436436

@@ -442,6 +442,7 @@ let ``Cancel running jobs with the same key`` () =
442442

443443
Assert.Equal(0, events |> countOf Failed)
444444

445+
// All outdated jobs should have been canceled by now.
445446
Assert.Equal(10, events |> countOf Canceled)
446447

447448
Assert.Equal(1, events |> countOf Finished)

0 commit comments

Comments
 (0)