Skip to content

Commit e1616f3

Browse files
committed
run only caching test
1 parent 2f23cb6 commit e1616f3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.pipelines/scripts/e2e_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ rm -f "$temp_file"
9494
# gotestsum configure to only show logs for failed tests, json file for detailed logs
9595
# Run the tests! Yey!
9696
test_exit_code=0
97-
./bin/gotestsum --format testdox --junitfile "${BUILD_SRC_DIR}/e2e/report.xml" --jsonfile "${BUILD_SRC_DIR}/e2e/test-log.json" -- -parallel 150 -timeout 90m || test_exit_code=$?
97+
./bin/gotestsum --format standard-verbose --junitfile "${BUILD_SRC_DIR}/e2e/report.xml" --jsonfile "${BUILD_SRC_DIR}/e2e/test-log.json" -- -parallel 150 -timeout 90m -run ^Test_Ubuntu2404_VHDCaching$ || test_exit_code=$?
9898

9999
# Upload test results as Azure DevOps artifacts
100100
echo "##vso[artifact.upload containerfolder=test-results;artifactname=e2e-test-log]${BUILD_SRC_DIR}/e2e/test-log.json"

e2e/test_helpers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ func runScenarioWithPreProvision(t *testing.T, original *Scenario) {
120120
customVHD = CreateImage(ctx, stage1)
121121
customVHDJSON, _ := json.MarshalIndent(customVHD, "", " ")
122122
t.Logf("Created custom VHD image: %s", string(customVHDJSON))
123+
cleanupBastionTunnel(firstStage.Runtime.VM.SSHClient)
124+
firstStage.Runtime.VM.SSHClient = nil
123125
}
124126
firstStage.Config.VMConfigMutator = func(vmss *armcompute.VirtualMachineScaleSet) {
125127
if original.VMConfigMutator != nil {

0 commit comments

Comments
 (0)