Skip to content
Merged
Prev Previous commit
Next Next commit
[wasm][win] fix wasm/windows networking test failures
`System.Net.WebSockets.Client.Tests`, and
`System.Net.Http.Functional.Tests` fail because the echo servers don't
get included in the helix payload.

 - Don't condition the inclusion on `RunSmokeTestsOnly`, instead it will
   be included only if it was built, and that would depend correctly on
   `RunSmokeTestsOnly`.
- Pass the smoke test argument to the build command line for
  wasm/windows
  • Loading branch information
radical committed Nov 23, 2021
commit bd44d3db23575a99e8cd0c9695ab8e4a006ff247
2 changes: 1 addition & 1 deletion eng/pipelines/runtime-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ jobs:
jobParameters:
testGroup: innerloop
nameSuffix: Windows_wasm
buildArgs: -subset mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:BrowserHost=windows
buildArgs: -subset mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:BrowserHost=windows $(_runSmokeTestsOnlyArg)
timeoutInMinutes: 180
condition: >-
or(
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/sendtohelixhelp.proj
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
<HelixCorrelationPayload Include="$(MonoTargetsTasksDir)" Destination="build/MonoTargetsTasks" />
</ItemGroup>

<ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(RunSmokeTestsOnly)' != 'true' and '$(Scenario)' != 'BuildWasmApps'">
<ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(Scenario)' != 'BuildWasmApps'">
<HelixCorrelationPayload Include="$(TestEchoMiddleware)" Destination="xharness/TestEchoMiddleware" />
<HelixCorrelationPayload Include="$(RemoteLoopMiddleware)" Destination="xharness/RemoteLoopMiddleware" />
</ItemGroup>
Expand Down