Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

// Tests for camelCase functions in module Async

// Intentionally in same collection to help rule out potential flakiness due to concurrency re #20306
[<Xunit.Collection(nameof FSharp.Test.NotThreadSafeResourceCollection)>]
module FSharp.Core.UnitTests.Control.AsyncModuleFunctionsTests

open System
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -800,9 +800,7 @@ type AsyncType() =
Assert.True(asyncWaitImm a)
#endif

// Intentionally in same collection to help rule out potential flakiness due to concurrency re #20306
[<Collection(nameof FSharp.Test.NotThreadSafeResourceCollection)>]
module AsyncTaskLikeAwaitTests =
module AsyncAwaitTaskLikeTests =

// Minimal custom task-like type wrapping Task<'T>
type MyTask<'T>(inner: Task<'T>) =
Expand Down Expand Up @@ -904,8 +902,6 @@ module AsyncTaskLikeAwaitTests =
|> asyncWaitImm
Assert.Equal(42, result)

// Intentionally in same collection to help rule out potential flakiness due to concurrency re #20306
[<Collection(nameof FSharp.Test.NotThreadSafeResourceCollection)>]
module AsyncStartTaskImmediateTaskLikeTests =

[<Fact>]
Expand Down Expand Up @@ -946,8 +942,6 @@ module AsyncStartTaskImmediateTaskLikeTests =

Assert.Equal(cts.Token, capturedCt)

// Intentionally in same collection to help rule out potential flakiness due to concurrency re #20306
[<Collection(nameof FSharp.Test.NotThreadSafeResourceCollection)>]
module AsyncAwaitStackTraceTests =

open System.Runtime.CompilerServices
Expand Down
Loading