summaryrefslogtreecommitdiffstats
path: root/test/main_test.go
AgeCommit message (Collapse)AuthorFilesLines
2019-04-07Use go module as dependency tool instead of glidehalibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/7.99.3halibut/7.99.2halibut/7.99.17.99.37.99.27.99.1Sebastien Douheret1-3/+3
Get ride of glide tool (marked as obsolete) and go module instead to populate dependency packages. See also: https://github.com/golang/go/wiki/Modules Bug-AGL: SPEC-2289 Change-Id: I8f459a9f80f501c2b6019566eaa3db3a9b986396 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-02-05Fixed/improved tests startup and exithalibut_7.90.0halibut/7.90.07.90.0Sebastien Douheret1-9/+56
- 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>
2018-11-06Check dependency tools before running testsguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Sebastien Douheret1-0/+33
Add a check of all dependency tools before running tests in order to report a clear error instead of a cryptic test failure. Change-Id: I7b642428fb4ada7eec2de0c4c45f612ae6888b33 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-11-06Remove dependency of killallSebastien Douheret1-1/+1
killall utility is part of psmisc package that is not installed by default. So use pkill utility instead. Change-Id: Ib1e46b603560ea8ee6041a52b3c482114ec340ac Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-22Fix testsSebastien Douheret1-7/+10
Change-Id: I9b8dbe26bfe6d1d32cbce09a89b7d0f47d7ef4b5 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-08-24test target: launch user sshd for opening termflounder_5.99.6flounder_5.99.5flounder/5.99.6flounder/5.99.55.99.65.99.5Clément Bénier1-1/+3
- fixtures for user ssh server (authorized_keys, ssh, sshd_config, ssh_host_rsa_key, ssh.pub) - exec following cmd $ /usr/bin/sshd - D -f sshd_config -h ssh_host_rsa_key -o AuthorizedKeysFile=authorized_keys -p port - uncomment former terminal tests for open/close Change-Id: If1765c4860ef3a95f7a92f1f9652427828b98083 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21main_test.go: explicit main test entryClément Bénier1-0/+227
Change-Id: I26e3e03f914b390cc84ba29160ec6e8cee07162f Signed-off-by: Clément Bénier <clement.benier@iot.bzh>