aboutsummaryrefslogtreecommitdiffstats
path: root/src/ci/docker/webtest/entry_point.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ci/docker/webtest/entry_point.sh')
-rw-r--r--src/ci/docker/webtest/entry_point.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ci/docker/webtest/entry_point.sh b/src/ci/docker/webtest/entry_point.sh
index 4c6c1974a..7daea6113 100644
--- a/src/ci/docker/webtest/entry_point.sh
+++ b/src/ci/docker/webtest/entry_point.sh
@@ -42,9 +42,11 @@ fi
rm -f /tmp/.X*lock
+export JAVA_OPTS
+export SE_OPTS
+
xvfb-run -a -n $X_START_NUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
- java ${JAVA_OPTS} -jar /opt/bin/selenium-server-standalone.jar \
- ${SE_OPTS} &
+ /opt/bin/x_run.sh &
NODE_PID=$!
trap shutdown SIGTERM SIGINT