test-integration 446 B

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