diff --git a/skeleton/run b/skeleton/run index a7cb720..33d8db3 100755 --- a/skeleton/run +++ b/skeleton/run @@ -30,6 +30,6 @@ exec docker run --rm -it \ -v "$ABSDIR"/helpers:/app/helpers \ -v "$ABSDIR"/reports:/app/reports \ -v "$ABSDIR"/spec:/app/spec \ - --shmem + --shm-size=2g \ "$IMAGE_NAME" \ "$@" diff --git a/skeleton/run-browser b/skeleton/run-browser index bda9815..9de2dc1 100755 --- a/skeleton/run-browser +++ b/skeleton/run-browser @@ -20,7 +20,7 @@ COMMANDS="$(cat <<-EOT export DISPLAY=:1 Xvnc \ - -Log='*:stderr:10' \ + -Log='*:stderr:0' \ -geometry 1200x900 \ -SecurityTypes None \ \$DISPLAY \ @@ -34,13 +34,14 @@ wait EOT )" -echo "$COMMANDS" | exec docker run \ +echo "$COMMANDS" | docker run \ -i \ --rm \ --privileged \ --env-file "$DIR"/config \ --publish-all \ --network ${DEVELOPMENT_PROJECT_NAME}_default \ + --shm-size=2g \ --name overview-integration-tester-chromium \ -v "$ABSDIR"/files:/app/files \ -v "$ABSDIR"/helpers:/app/helpers \ @@ -55,7 +56,7 @@ sleep 2 IP_AND_PORT="$(docker port overview-integration-tester-chromium 5901/tcp)" -vncviewer $IP_AND_PORT RemoteResize=0 +vncviewer '-Log=*:stderr:0' $IP_AND_PORT RemoteResize=0 # vncviewer will die when container dies. # If we get here, then either: