summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlistair Coles <alistairncoles@gmail.com>2021-03-17 11:47:24 +0000
committerTim Burke <tim.burke@gmail.com>2021-03-17 15:57:02 -0700
commite572938af349a51ff755d493203fce1d2ef777d5 (patch)
treea8bb07a8267dfff37c78b62d00a15573ce2097d3 /tools
parent354a86a80ee6de462c240c5684bf982c806bf7a7 (diff)
downloadswift-e572938af349a51ff755d493203fce1d2ef777d5.tar.gz
Use headless option for cors functional test runner
Some selenium webdrivers (e.g. Chrome, Firefox) support a headless option so we can expose that as an option for the test runner too. Use this in an attempt to fix "Error: cannot open display: :99" errors seen in the gate. Related-Bug: #1918864 Change-Id: I2a549ce829eb0bc38406575582202e1d8dd1a0e2
Diffstat (limited to 'tools')
-rw-r--r--tools/playbooks/cors/run.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/playbooks/cors/run.yaml b/tools/playbooks/cors/run.yaml
index a6076f82d..cd8d73d09 100644
--- a/tools/playbooks/cors/run.yaml
+++ b/tools/playbooks/cors/run.yaml
@@ -9,7 +9,7 @@
- name: Run CORS tests
shell: >
- xvfb-run python
+ python
{{ ansible_env.HOME }}/{{ zuul.project.src_dir }}/test/cors/main.py
--output {{ ansible_env.HOME }}/cors-test-results.txt
all