Skip to content

Commit 94103c3

Browse files
authored
Fix execution gets stucks on single netstandard source (#4497)
1 parent ee16296 commit 94103c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.TestPlatform.CrossPlatEngine/TestEngine.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ private static void WarnAboutNotFoundRuntimeProvidersOrThrowWhenNoneAreFound(Lis
664664
throw new ArgumentException(null, nameof(testRuntimeProviders));
665665

666666
// Throw when we did not find any runtime provider for any of the provided sources.
667-
var shouldThrow = testRuntimeProviders.All(runtimeProvider => runtimeProvider == null);
667+
var shouldThrow = testRuntimeProviders.All(runtimeProvider => runtimeProvider.Type == null);
668668

669669
var missingRuntimeProviders = testRuntimeProviders.Where(p => p.Type == null);
670670
if (missingRuntimeProviders.Any())

0 commit comments

Comments
 (0)