Skip to content

Commit 6de8a5a

Browse files
authored
cleanup load test resource only when tests run (#1033)
1 parent 152a130 commit 6de8a5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

buildspec_load_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ phases:
104104
# Run load tests on corresponding platform
105105
python ./load_tests/load_test.py ${PLATFORM}
106106
107+
# Clear up testing resources
108+
python ./load_tests/load_test.py delete_testing_resources
109+
107110
else
108111
echo "Unsupported BUILD_VERSION: $BUILD_VERSION"
109112
echo "Supported versions are: 2, 3"
110113
exit 1
111114
fi
112115
fi
113-
finally:
114-
# Clear up testing resources
115-
- python ./load_tests/load_test.py delete_testing_resources
116116
artifacts:
117117
files:
118118
- '**/*'

0 commit comments

Comments
 (0)