From b46d01c057d2d6cd9ddc5c69a0ebeb2329f1b209 Mon Sep 17 00:00:00 2001 From: Eddy Ashton Date: Thu, 28 Sep 2023 16:51:29 +0100 Subject: [PATCH] Restore test in the `Stress` pipeline (#5696) --- .azure-pipelines-templates/stress-matrix.yml | 2 +- .azure-pipelines-templates/test.yml | 2 +- .stress.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines-templates/stress-matrix.yml b/.azure-pipelines-templates/stress-matrix.yml index 19071e629dfa..a53c6ca03c40 100644 --- a/.azure-pipelines-templates/stress-matrix.yml +++ b/.azure-pipelines-templates/stress-matrix.yml @@ -5,7 +5,7 @@ jobs: env: container: sgx pool: ado-sgx-ccf-sub-backup - cmake_args: "-DCOMPILE_TARGET=sgx" + cmake_args: "-DCOMPILE_TARGET=sgx -DLONG_TESTS=ON" suffix: "StressTest" artifact_name: "StressTest" ctest_filter: '-L "vegeta" -C "long_stress"' diff --git a/.azure-pipelines-templates/test.yml b/.azure-pipelines-templates/test.yml index 3fe89848ad42..b9660bfc88bb 100644 --- a/.azure-pipelines-templates/test.yml +++ b/.azure-pipelines-templates/test.yml @@ -17,7 +17,7 @@ steps: workingDirectory: build # Only run privileged tests in container environment - - ${{ if not( or( eq(parameters.suffix, 'Perf'), eq(parameters.suffix, 'Tracing'))) }}: + - ${{ if not( or( eq(parameters.suffix, 'Perf'), eq(parameters.suffix, 'Tracing'), eq(parameters.suffix, 'StressTest') ) ) }}: - script: | set -ex sudo bash -c "source env/bin/activate && ctest -VV --timeout ${{ parameters.ctest_timeout }} --no-compress-output -L partitions -C partitions" diff --git a/.stress.yml b/.stress.yml index fd366dd0c158..3ad1a4065539 100644 --- a/.stress.yml +++ b/.stress.yml @@ -5,7 +5,7 @@ pr: paths: include: - .stress.yml - - .stress-matrix.yml + - .azure-pipelines-templates/stress-matrix.yml trigger: none