Fixed/improved tests startup and exit 23/19823/2 7.90.0 halibut/7.90.0 halibut_7.90.0
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 31 Jan 2019 22:03:49 +0000 (23:03 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Tue, 5 Feb 2019 08:22:12 +0000 (08:22 +0000)
commit57fda72ba8bd2c61ceb71ef493b9b9a9162ff757
treeb93bde581753a667c185675fbb9cb48f67faeb4f
parentd3087da351917241f3ec2177f44db54fa0f2f9a3
Fixed/improved tests startup and exit

- 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>
test/config.go
test/main_test.go