File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3434 set -eoux pipefail
3535 export GOPATH=$GITHUB_WORKSPACE
3636 cd $GITHUB_WORKSPACE/src/github.com/aws/amazon-ecs-agent
37- make test-silent
38- make analyze-cover-profile
39- make test-init
40- make analyze-cover-profile-init
37+ make test-flaky-session
Original file line number Diff line number Diff line change @@ -178,6 +178,9 @@ test-silent: test-ebs-csi
178178 cd ecs-agent && GO111MODULE=on GOEXPERIMENT=nocoverageredesign ${GOTEST} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
179179 go tool cover -func cover.out > coverprofile-ecs-agent.out
180180
181+ test-flaky-session :
182+ cd ecs-agent && for i in $$ (seq 1 100); do GO111MODULE=on GOEXPERIMENT=nocoverageredesign ${GOTEST} -tags unit -mod vendor -timeout=5m ./acs/session -run TestSessionReconnectsOnDiscoverPollEndpointError; done
183+
181184.PHONY : analyze-cover-profile
182185analyze-cover-profile : coverprofile.out coverprofile-ecs-agent.out
183186 ./scripts/analyze-cover-profile coverprofile.out
You can’t perform that action at this time.
0 commit comments