From f350d69de0eb41cf552ae91cea46cd2dff5aa6c6 Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Wed, 3 Jul 2024 14:26:32 +0200 Subject: [PATCH 1/5] default WasmDebugLevel to zero for tests on CI --- eng/testing/tests.browser.targets | 10 ---------- eng/testing/tests.wasi.targets | 10 ---------- eng/testing/tests.wasm.targets | 5 +---- src/mono/browser/test-main.js | 2 +- 4 files changed, 2 insertions(+), 25 deletions(-) diff --git a/eng/testing/tests.browser.targets b/eng/testing/tests.browser.targets index 3ff4c3b507763..8ece2d7b4b024 100644 --- a/eng/testing/tests.browser.targets +++ b/eng/testing/tests.browser.targets @@ -173,16 +173,6 @@ true true - - 0 diff --git a/eng/testing/tests.wasi.targets b/eng/testing/tests.wasi.targets index e8f75ee3821bc..d7183c26cb597 100644 --- a/eng/testing/tests.wasi.targets +++ b/eng/testing/tests.wasi.targets @@ -94,16 +94,6 @@ $(InvariantGlobalization) true - - 0 diff --git a/eng/testing/tests.wasm.targets b/eng/testing/tests.wasm.targets index bf29d930d02f5..064e858507ac6 100644 --- a/eng/testing/tests.wasm.targets +++ b/eng/testing/tests.wasm.targets @@ -15,10 +15,7 @@ But we do want to set it for Configuration=Debug . --> -1 - - reset-to-zero + 0 full true diff --git a/src/mono/browser/test-main.js b/src/mono/browser/test-main.js index 96727664e51bf..4029323393e1e 100644 --- a/src/mono/browser/test-main.js +++ b/src/mono/browser/test-main.js @@ -368,7 +368,7 @@ async function run() { const main_assembly_name = runArgs.applicationArguments[1]; const app_args = runArgs.applicationArguments.slice(2); const result = await App.runtime.runMain(main_assembly_name, app_args); - console.log(`test-main.js exiting ${app_args.length > 1 ? main_assembly_name + " " + app_args[0] : main_assembly_name} with result ${result}`); + console.log(`test-main.js exiting ${app_args.length > 1 ? main_assembly_name + " " + app_args[0] : main_assembly_name} with result ${result} and linear memory ${App.runtime.Module.HEAPU8.length} bytes`); mono_exit(result); } catch (error) { if (error.name != "ExitStatus") { From 37b98ddb099b9c796e74a08799406c8607a6e93e Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Wed, 3 Jul 2024 14:41:24 +0200 Subject: [PATCH 2/5] normal timeouts --- src/libraries/sendtohelix-browser.targets | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libraries/sendtohelix-browser.targets b/src/libraries/sendtohelix-browser.targets index 231cb656482c5..0fb59a8b40a41 100644 --- a/src/libraries/sendtohelix-browser.targets +++ b/src/libraries/sendtohelix-browser.targets @@ -250,7 +250,6 @@ 01:20:00 01:20:00 01:20:00 - 01:20:00 01:20:00 @@ -282,7 +281,6 @@ 01:20:00 01:20:00 01:20:00 - 01:20:00 01:20:00 From 86751a26f4105248c9270fc863a5ed06481e63ea Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Wed, 3 Jul 2024 15:54:56 +0200 Subject: [PATCH 3/5] feedback about CI --- eng/testing/tests.wasm.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/testing/tests.wasm.targets b/eng/testing/tests.wasm.targets index 064e858507ac6..ef52bce43743c 100644 --- a/eng/testing/tests.wasm.targets +++ b/eng/testing/tests.wasm.targets @@ -15,7 +15,7 @@ But we do want to set it for Configuration=Debug . --> -1 - 0 + 0 full true From d5a60e8f0899804ddc21ebfeaec6eadb676fa616 Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Wed, 3 Jul 2024 15:55:14 +0200 Subject: [PATCH 4/5] feedback about timeouts --- .../System.Collections.Immutable.Tests.csproj | 5 ----- .../tests/System.Memory.Tests.csproj | 5 ----- .../System.Net.Http.Functional.Tests.csproj | 2 -- .../System.Net.WebSockets.Client.Tests.csproj | 2 -- .../tests/System.Private.Xml.Tests.csproj | 2 -- .../System.Text.Json.Tests.csproj | 2 -- src/libraries/sendtohelix-browser.targets | 15 --------------- 7 files changed, 33 deletions(-) diff --git a/src/libraries/System.Collections.Immutable/tests/System.Collections.Immutable.Tests.csproj b/src/libraries/System.Collections.Immutable/tests/System.Collections.Immutable.Tests.csproj index c34ddf6a4365f..cd83bd88de75b 100644 --- a/src/libraries/System.Collections.Immutable/tests/System.Collections.Immutable.Tests.csproj +++ b/src/libraries/System.Collections.Immutable/tests/System.Collections.Immutable.Tests.csproj @@ -5,11 +5,6 @@ true - - - 01:15:00 - - diff --git a/src/libraries/System.Memory/tests/System.Memory.Tests.csproj b/src/libraries/System.Memory/tests/System.Memory.Tests.csproj index a8afce4264197..319edd9039f8f 100644 --- a/src/libraries/System.Memory/tests/System.Memory.Tests.csproj +++ b/src/libraries/System.Memory/tests/System.Memory.Tests.csproj @@ -6,11 +6,6 @@ $(NetCoreAppCurrent) - - - 01:15:00 - - diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj index af5d23586c302..423a1f92ad7e4 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj @@ -24,8 +24,6 @@ $(TestArchiveRoot)browserornodejs/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER - - 01:15:00 diff --git a/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj b/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj index ae9109b200f6b..b321f77aa21f3 100644 --- a/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj +++ b/src/libraries/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj @@ -13,8 +13,6 @@ $(TestArchiveRoot)browserornodejs/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER - - 01:15:00 1 diff --git a/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj b/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj index 5ab928104f016..66bae45f35293 100644 --- a/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj +++ b/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj @@ -14,8 +14,6 @@ $(TestArchiveRoot)browserornodejs/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER - - 01:15:00 diff --git a/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/System.Text.Json.Tests.csproj b/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/System.Text.Json.Tests.csproj index aed69c98cd0c1..b46a3c542af35 100644 --- a/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/System.Text.Json.Tests.csproj +++ b/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/System.Text.Json.Tests.csproj @@ -23,8 +23,6 @@ $(Features.Replace('nullablePublicOnly', '') - - 01:15:00 1 diff --git a/src/libraries/sendtohelix-browser.targets b/src/libraries/sendtohelix-browser.targets index 0fb59a8b40a41..2aaabb7494cce 100644 --- a/src/libraries/sendtohelix-browser.targets +++ b/src/libraries/sendtohelix-browser.targets @@ -242,15 +242,6 @@ %(Identity) $(HelixCommand) $(_workItemTimeout) - - 01:20:00 - 01:20:00 - 01:20:00 - 01:20:00 - 01:20:00 @@ -276,12 +267,6 @@ %(Identity) $(HelixCommand) $(_workItemTimeout) - - 01:20:00 - 01:20:00 - 01:20:00 - 01:20:00 - 01:20:00 From 4a7e4f20744c91ee71b976a7432ba6d90d0e26da Mon Sep 17 00:00:00 2001 From: pavelsavara Date: Wed, 3 Jul 2024 18:29:54 +0200 Subject: [PATCH 5/5] slow System.Net.Http.Functional.Tests on NodeJS --- .../FunctionalTests/System.Net.Http.Functional.Tests.csproj | 2 ++ src/libraries/sendtohelix-browser.targets | 1 + 2 files changed, 3 insertions(+) diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj index 423a1f92ad7e4..5447195840f31 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj @@ -24,6 +24,8 @@ $(TestArchiveRoot)browserornodejs/ $(TestArchiveTestsRoot)$(OSPlatformConfig)/ $(DefineConstants);TARGET_BROWSER + + 01:15:00 diff --git a/src/libraries/sendtohelix-browser.targets b/src/libraries/sendtohelix-browser.targets index 2aaabb7494cce..e1d0d2a5c9324 100644 --- a/src/libraries/sendtohelix-browser.targets +++ b/src/libraries/sendtohelix-browser.targets @@ -242,6 +242,7 @@ %(Identity) $(HelixCommand) $(_workItemTimeout) + 01:20:00