summaryrefslogtreecommitdiffstats
path: root/test/config.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2019-01-31 23:03:49 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2019-02-05 08:22:12 +0000
commit57fda72ba8bd2c61ceb71ef493b9b9a9162ff757 (patch)
treeb93bde581753a667c185675fbb9cb48f67faeb4f /test/config.go
parentd3087da351917241f3ec2177f44db54fa0f2f9a3 (diff)
Fixed/improved tests startup and exithalibut_7.90.0halibut/7.90.07.90.0
- dynamic wait of xds-server startup by retrying connection establishement with a timeout - gracefully stop xds-server on test end and force kill if graceful stop doesn't work - remove hardcoded Http port and only use value set by _test-config.json file Change-Id: Idb1ba42f6c45851427b4f1c8955d6b14a15aae69 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'test/config.go')
-rw-r--r--test/config.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/config.go b/test/config.go
index 804b0b1..6d31559 100644
--- a/test/config.go
+++ b/test/config.go
@@ -17,11 +17,9 @@
package xdsservertest
-var argsProcess = []string{"../bin/xds-server", "-l", "debug", "-c", "_test-config.json"}
-
const (
+ testConfigFile = "_test-config.json"
envRootCfgDir = "XDS_SERVER_ROOT_CFG_DIR"
- prefixURL = "http://localhost:8000"
logFileXdsServer = "xdsserver-test.log"
logFileClient = "client-test.log"
logFileSSHd = "sshd.log"