Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM: Disable thread related tests on System.IO.Compression #39231

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

akoeplinger
Copy link
Member

They try to test various conditions that only work if you have multiple threads which is not the case on WebAssembly.

They try to test various conditions that only work if you have multiple threads which is not the case on WebAssembly.
@@ -14,7 +14,7 @@ public abstract class CompressionStreamUnitTestBase : CompressionStreamTestBase
{
private const int TaskTimeout = 30 * 1000; // Generous timeout for official test runs

[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming the issue here is the blocking, these tests could be made to work; there just wasn't a reason to avoid the blocking previously.

How do we want to track the difference between "this test can never work with wasm" and "this test doesn't currently work with wasm but could be made to"?

Copy link
Member Author

@akoeplinger akoeplinger Jul 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My plan was to do a pass over all the PlatformDetection.IsThreadingSupported items once we have more capacity to actually analyze/rewrite the tests. Right now the focus is on getting as much coverage up as possible for preview8.

@akoeplinger akoeplinger merged commit 4697d9b into dotnet:master Jul 14, 2020
@akoeplinger akoeplinger deleted the fix-system-io-compression branch July 14, 2020 09:54
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants