Run as root in selenium container

This commit is contained in:
Kenneth Skovhede
2024-04-18 15:37:11 +02:00
parent bb99a4a6b1
commit 220c550181
+2 -1
View File
@@ -1,8 +1,9 @@
mkdir /home/seluser/published/
chmod +S /home/seluser/published/
export DOTNET_CLI_TELEMETRY_OPTOUT=1
sudo dotnet publish -o /home/seluser/published/ /sources/Duplicati.sln
/home/seluser/published/Duplicati.Server &
sudo /home/seluser/published/Duplicati.Server &
timeout 240 bash -c 'until printf "" 2>>/dev/null >>/dev/tcp/$0/$1; do sleep 1; echo Checking if server started...; done' 127.0.0.1 8200
echo Running Tests...
python3 /sources/guiTests/guiTest.py