Created
March 20, 2020 04:19
-
-
Save TsuyoshiUshio/a6ccd329c19065e75783ac452a1daf56 to your computer and use it in GitHub Desktop.
Serially exclusively
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CollectionDefinition("Non-Parallel Collection", DisableParallelization = true)] | |
public class NonParallelCollectionDefinitionClass | |
{ | |
} | |
[Collection("Non-Parallel Collection")] | |
public class SerialTest | |
{ | |
[Fact] | |
public async Task Test10() | |
{ | |
await Task.Delay(TimeSpan.FromSeconds(5)); | |
Assert.True(true); | |
} | |
[Fact] | |
public async Task Test11() | |
{ | |
await Task.Delay(TimeSpan.FromSeconds(5)); | |
Assert.True(true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment