From 439f52c82bb8f9cfa2a37068e9191b590196457b Mon Sep 17 00:00:00 2001 From: Ben Hillis Date: Fri, 20 Mar 2026 09:39:08 -0700 Subject: [PATCH 1/2] Split WSLA/WSLC tests into a separate CI runner --- .pipelines/test-stage.yml | 1 + cloudtest/CMakeLists.txt | 11 ++++++ cloudtest/TestGroup-wsla.xml.in | 27 ++++++++++++++ cloudtest/TestGroup.xml.in | 2 +- test/windows/Common.cpp | 2 +- test/windows/Common.h | 35 ++++++++++++------- test/windows/WSLATests.cpp | 5 +-- test/windows/WslcSdkTests.cpp | 5 +-- .../windows/wslc/WSLCCLIArgumentUnitTests.cpp | 2 +- test/windows/wslc/WSLCCLICommandUnitTests.cpp | 2 +- .../wslc/WSLCCLIExecutionUnitTests.cpp | 2 +- test/windows/wslc/WSLCCLIParserUnitTests.cpp | 2 +- .../wslc/e2e/WSLCE2EContainerCreateTests.cpp | 2 +- .../wslc/e2e/WSLCE2EContainerTests.cpp | 2 +- test/windows/wslc/e2e/WSLCE2EGlobalTests.cpp | 2 +- .../wslc/e2e/WSLCE2EImageBuildTests.cpp | 2 +- .../wslc/e2e/WSLCE2EImageDeleteTests.cpp | 2 +- .../wslc/e2e/WSLCE2EImageInspectTests.cpp | 2 +- 18 files changed, 79 insertions(+), 29 deletions(-) create mode 100644 cloudtest/TestGroup-wsla.xml.in diff --git a/.pipelines/test-stage.yml b/.pipelines/test-stage.yml index 2baf6df7f..c6143434e 100644 --- a/.pipelines/test-stage.yml +++ b/.pipelines/test-stage.yml @@ -12,6 +12,7 @@ parameters: default: - wsl1 - wsl2 + - wsla - name: test_images type: object diff --git a/cloudtest/CMakeLists.txt b/cloudtest/CMakeLists.txt index 1767ab816..a44437e06 100644 --- a/cloudtest/CMakeLists.txt +++ b/cloudtest/CMakeLists.txt @@ -33,7 +33,18 @@ function(add_test_group image version) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/TestGroup.xml.in ${DIR}/TestGroup.xml) endfunction() +function(add_wsla_test_group image) + set(version "a") + set(DIR ${OUT}/${image}-wsla) + + file(MAKE_DIRECTORY ${DIR}) + + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/TestMap.xml.in ${DIR}/TestMap.xml) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/TestGroup-wsla.xml.in ${DIR}/TestGroup.xml) +endfunction() + foreach(image ${CLOUDTEST_IMAGES}) add_test_group("${image}" "1") add_test_group("${image}" "2") + add_wsla_test_group("${image}") endforeach() diff --git a/cloudtest/TestGroup-wsla.xml.in b/cloudtest/TestGroup-wsla.xml.in new file mode 100644 index 000000000..bc8ed47f5 --- /dev/null +++ b/cloudtest/TestGroup-wsla.xml.in @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + +