Skip to content

[browser][mt] smoke test active issues #88676

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

Merged
merged 3 commits into from
Jul 12, 2023
Merged
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
3 changes: 3 additions & 0 deletions src/libraries/tests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,10 @@
<ItemGroup Condition="'$(TargetOS)' == 'browser' and '$(MonoWasmBuildVariant)' == 'multithread'">
<!-- Don't want the default smoke tests - just verify that threading works -->
<SmokeTestProject Remove="@(SmokeTestProject)" />
<SmokeTestProject Include="$(MonoProjectRoot)sample\wasm\browser-threads\Wasm.Browser.Threads.Sample.csproj" />
<!-- this sample is messy sandbox right now
<SmokeTestProject Include="$(MonoProjectRoot)sample\wasm\browser-threads-minimal\Wasm.Browser.Threads.Minimal.Sample.csproj" />
-->
<SmokeTestProject Include="$(MSBuildThisFileDirectory)System.Net.WebSockets.Client\tests\System.Net.WebSockets.Client.Tests.csproj" />
<!-- ActiveIssue https://github.com/dotnet/runtime/issues/88084
<SmokeTestProject Include="$(MSBuildThisFileDirectory)System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj" />
Expand Down
5 changes: 4 additions & 1 deletion src/mono/sample/wasm/browser-threads-minimal/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ try {
console.log("smoke: HttpClientThread(blurst.txt) done " + t4);

console.log("smoke: running WsClientMain");
let w0 = await exports.Sample.Test.WsClientMain("wss://socketsbay.com/wss/v2/1/demo/");
let w0 = await exports.Sample.Test.WsClientMain("wss://corefx-net-http11.azurewebsites.net/WebSocket/EchoWebSocket.ashx");
console.log("smoke: WsClientMain done " + w0);

/* ActiveIssue https://github.com/dotnet/runtime/issues/88057
Expand Down Expand Up @@ -110,6 +110,7 @@ try {
console.log("smoke: running StartAllocatorFromWorker");
exports.Sample.Test.StartAllocatorFromWorker();

/* ActiveIssue https://github.com/dotnet/runtime/issues/88663
await delay(5000);

console.log("smoke: running GCCollect");
Expand All @@ -119,6 +120,8 @@ try {

console.log("smoke: running GCCollect");
exports.Sample.Test.GCCollect();
console.log("smoke: running GCCollect done");
*/

console.log("smoke: running StopTimerFromWorker");
exports.Sample.Test.StopTimerFromWorker();
Expand Down