Skip to content

Commit

Permalink
Increase shm-size; logging tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhooper committed Feb 9, 2018
1 parent 73236ec commit 348491b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion skeleton/run
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
"$@"
7 changes: 4 additions & 3 deletions skeleton/run-browser
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COMMANDS="$(cat <<-EOT
export DISPLAY=:1
Xvnc \
-Log='*:stderr:10' \
-Log='*:stderr:0' \
-geometry 1200x900 \
-SecurityTypes None \
\$DISPLAY \
Expand All @@ -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 \
Expand All @@ -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:
Expand Down

0 comments on commit 348491b

Please sign in to comment.