Skip to content

Commit

Permalink
Fix: TEST will run as root to fix time switching tests
Browse files Browse the repository at this point in the history
  • Loading branch information
naparuba committed Sep 21, 2024
1 parent 5dc7225 commit 66ba7fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/distro-tests-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ jobs:
chmod a+x test/*
chmod a+x test/docker-helper/*
cd test
TEST_SUITE=${{ matrix.TEST_SUITE }} sudo -E ./test_suite.sh
TEST_SUITE=${{ matrix.TEST_SUITE }} ./test_suite.sh
2 changes: 1 addition & 1 deletion test/test_installation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function launch_docker_file() {
SHA=$(echo $BUILD | cut -d':' -f2)

print_color "$DO_WHAT $DOCKER_FILE : RUN starting at $NOW \n" "magenta"
docker run --env-file ~/.docker_env --interactive -a stdout -a stderr --rm=true --privileged --cap-add ALL "$SHA" 2>>$LOG >>$LOG
sudo docker run --env-file ~/.docker_env --interactive -a stdout -a stderr --rm=true --privileged --cap-add ALL "$SHA" 2>>$LOG >>$LOG
if [ $? != 0 ]; then
print_color "$DO_WHAT ERROR: $(date) $DOCKER_FILE" "red"
printf " Cannot run. Look at $LOG\n"
Expand Down

0 comments on commit 66ba7fc

Please sign in to comment.