Skip to content

Commit aeeaa50

Browse files
committed
add timeout attribute
1 parent d3f5357 commit aeeaa50

File tree

1 file changed

+1
-1
lines changed
  • src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control

1 file changed

+1
-1
lines changed

src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/AsyncType.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ type AsyncType() =
163163
Assert.IsTrue (t.IsCompleted)
164164
Assert.AreEqual(s, t.Result)
165165

166-
[<Test>]
166+
[<Test; Timeout(2000)>]
167167
member this.RunSynchronouslyCancellationWithDelayedResult () =
168168
let cts = new CancellationTokenSource()
169169
let tcs = TaskCompletionSource<int>()

0 commit comments

Comments
 (0)