e572938af3
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
16 lines
409 B
YAML
16 lines
409 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Shutdown main swift services
|
|
shell: "swift-init stop main"
|
|
ignore_errors: true
|
|
|
|
- name: Start main swift services
|
|
shell: "swift-init start main"
|
|
|
|
- name: Run CORS tests
|
|
shell: >
|
|
python
|
|
{{ ansible_env.HOME }}/{{ zuul.project.src_dir }}/test/cors/main.py
|
|
--output {{ ansible_env.HOME }}/cors-test-results.txt
|
|
all
|