Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2020a9f

Browse files
committed
Disable on wasm test requiring parallelism
1 parentd717f3e commit2020a9f

File tree

1 file changed

+2
-2
lines changed
  • src/libraries/System.Runtime.Extensions/tests/System

1 file changed

+2
-2
lines changed

‎src/libraries/System.Runtime.Extensions/tests/System/Random.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,15 +390,15 @@ public void Empty_Success(bool derived, bool seeded)
390390
r.NextBytes(Span<byte>.Empty);
391391
}
392392

393-
[Fact]
393+
[ConditionalFact(typeof(PlatformDetection),nameof(PlatformDetection.IsThreadingSupported))]
394394
publicvoidShared_IsSingleton()
395395
{
396396
Assert.NotNull(Random.Shared);
397397
Assert.Same(Random.Shared,Random.Shared);
398398
Assert.Same(Random.Shared,Task.Run(()=>Random.Shared).Result);
399399
}
400400

401-
[Fact]
401+
[ConditionalFact(typeof(PlatformDetection),nameof(PlatformDetection.IsThreadingSupported))]
402402
publicvoidShared_ParallelUsage()
403403
{
404404
usingvarbarrier=newBarrier(2);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp