Alex Dadgar
7a958bdfdd
Change testserver binary lookup
2017-04-04 14:45:29 -07:00
Michael Schurter
a0d39ddd48
Advertise a non-loopback ip in tests
2016-11-14 14:42:59 -08:00
Alex Dadgar
416ed7692e
Fix command tests that wait for client to be registered
2016-08-23 11:17:31 -07:00
Alex Dadgar
4bfdd40948
test fixes
2016-08-18 10:30:47 -07:00
Chris Hines
118d5f048d
Make testutil.TestServer work correctly on Windows.
2015-12-01 12:16:21 -05:00
Chris Hines
de3aa95511
Make golint happy.
2015-12-01 12:14:39 -05:00
Jeff Mitchell
959c175ca1
Update the location of cleanhttp
2015-10-22 14:21:07 -04:00
Jeff Mitchell
cea5fd9081
Use cleanhttp for truly clean clients and transports.
2015-10-22 10:58:23 -04:00
Jeff Mitchell
50c2955f54
Remove usage of http.DefaultClient
2015-10-16 16:56:43 -04:00
Ryan Uber
041828f23e
testutil: fix boostrap mode after flag change
2015-09-24 21:16:52 -07:00
Ryan Uber
8be2546b77
testutil: fix bootstrap on test server
2015-09-14 13:52:19 -07:00
Ryan Uber
086e1d9daa
testutil: enable dev mode using a config flag.
...
This flag is not normally supported in Nomad, but we really need
to use it for testing to lower the timing values for registration
retries et. al. Instead of just enabling it on all tests, we
provide a bool flag in the config, which just makes the test
server pass the extra CLI arg when true.
2015-09-11 21:25:46 -07:00
Ryan Uber
6e10bd8af4
testutil: re-enable dev mode for short timing values
2015-09-11 20:50:08 -07:00
Ryan Uber
9ce9552a6b
agent: test listener from config
2015-09-11 11:10:55 -07:00
Ryan Uber
02564caa70
testutil: test server uses offset ports
2015-09-10 18:57:53 -07:00
Ryan Uber
79b4db11e0
testutil: server uses dynamic ports
2015-09-09 21:43:11 -07:00
Armon Dadgar
f91d735634
api: Adding basic skeleton
2015-09-06 13:29:51 -07:00