Skip to content

Commit 43ed633

Browse files
committed
addressed comments
1 parent b70aa2b commit 43ed633

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

test/canary/scripts/push_stats_to_cloudwatch.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,4 @@ def main():
8888

8989

9090
if __name__ == "__main__":
91-
main()
92-
93-
94-
91+
main()

test/canary/scripts/run_test.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ function print_controller_logs() {
2828
}
2929

3030
function cleanup {
31+
#push to metrics to cloudwatch
32+
echo "Pushing Codebuild stats to Cloudwatch."
33+
cd $SCRIPTS_DIR
34+
python push_stats_to_cloudwatch.py
35+
3136
echo "Cleaning up resources"
3237
set +e
3338
kubectl delete monitoringschedules --all
@@ -63,10 +68,6 @@ function cleanup {
6368
export PYTHONPATH=..
6469
python service_cleanup.py
6570

66-
#push to metrics to cloudwatch
67-
echo "Pushing Codebuild stats to Cloudwatch."
68-
cd $SCRIPTS_DIR
69-
python push_stats_to_cloudwatch.py
7071
}
7172
trap cleanup EXIT
7273

0 commit comments

Comments
 (0)