Skip to content

Commit 66ba7fc

Browse files
committed
Fix: TEST will run as root to fix time switching tests
1 parent 5dc7225 commit 66ba7fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/distro-tests-arm64.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ jobs:
9494
chmod a+x test/*
9595
chmod a+x test/docker-helper/*
9696
cd test
97-
TEST_SUITE=${{ matrix.TEST_SUITE }} sudo -E ./test_suite.sh
97+
TEST_SUITE=${{ matrix.TEST_SUITE }} ./test_suite.sh

test/test_installation.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function launch_docker_file() {
8989
SHA=$(echo $BUILD | cut -d':' -f2)
9090

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

0 commit comments

Comments
 (0)