test-integration 478 B

12345678910111213141516171819202122
  1. #!/usr/bin/env bash
  2. set -e -o pipefail
  3. source "${MAKEDIR}/.go-autogen"
  4. source hack/make/.integration-test-helpers
  5. (
  6. build_test_suite_binaries
  7. bundle .integration-daemon-start
  8. bundle .integration-daemon-setup
  9. local testexit=0
  10. ( repeat run_test_integration ) || testexit=$?
  11. # Always run cleanup, even if the subshell fails
  12. bundle .integration-daemon-stop
  13. cleanup_test_suite_binaries
  14. error_on_leaked_containerd_shims
  15. exit $testexit
  16. ) 2>&1 | tee -a "$DEST/test.log"