This is an automated email from the ASF dual-hosted git repository.
zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 8f0b24e Fix TP Docker tests (#5768)
8f0b24e is described below
commit 8f0b24ea412f8f6998a346cec4fba85870a49580
Author: Steve Hamrick <[email protected]>
AuthorDate: Tue Apr 20 14:06:03 2021 -0600
Fix TP Docker tests (#5768)
* Default args are ok (sets the resolution)
* Fix other modification
---
.../cdn-in-a-box/traffic_portal_integration_test/Dockerfile | 4 +---
infrastructure/cdn-in-a-box/traffic_portal_integration_test/run.sh | 5 -----
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git
a/infrastructure/cdn-in-a-box/traffic_portal_integration_test/Dockerfile
b/infrastructure/cdn-in-a-box/traffic_portal_integration_test/Dockerfile
index 7f5680c..3df10a6 100644
--- a/infrastructure/cdn-in-a-box/traffic_portal_integration_test/Dockerfile
+++ b/infrastructure/cdn-in-a-box/traffic_portal_integration_test/Dockerfile
@@ -61,10 +61,8 @@ RUN npm ci
RUN mkdir /portaltestresults
RUN jq ' \
- .capabilities.chromeOptions.args = [ \
+ .capabilities.chromeOptions.args += [ \
"--disable-extensions", \
- "--disable-gpu", \
- "--headless", \
"--ignore-certificate-errors", \
"--no-sandbox", \
"--whitelisted-ips=" \
diff --git a/infrastructure/cdn-in-a-box/traffic_portal_integration_test/run.sh
b/infrastructure/cdn-in-a-box/traffic_portal_integration_test/run.sh
index 2dc0758..94ed7cc 100755
--- a/infrastructure/cdn-in-a-box/traffic_portal_integration_test/run.sh
+++ b/infrastructure/cdn-in-a-box/traffic_portal_integration_test/run.sh
@@ -65,11 +65,6 @@ done
jq "$(<<JQ_FILTERS cat
.params.baseUrl = "https://$TP_FQDN" |
.params.apiUrl = "https://$TP_FQDN/api/4.0" |
- .capabilities.chromeOptions.args = [
- "--headless",
- "--no-sandbox",
- "--ignore-certificate-errors"
- ] |
.params.login.username = "$TO_ADMIN_USER" |
.params.login.password = "$TO_ADMIN_PASSWORD"
JQ_FILTERS