Commit Graph

6 Commits

Author SHA1 Message Date
Michael Schurter
91d36f9f6a e2e: add NomadAgent and basic client state test
The e2e test code is absolutely hideous and leaks processes and files
on disk. NomadAgent seems useful, but the clientstate e2e tests are very
messy and slow. The last test "Corrupt" is probably the most useful as
it explicitly corrupts the state file whereas the other tests attempt to
reproduce steps thought to cause corruption in earlier releases of
Nomad.
2019-03-21 07:14:34 -07:00
Alex Dadgar
40d095fd1a agent + consul 2018-09-13 10:43:40 -07:00
Michael Schurter
587d4e264b testlog: override testlogger with envvar 2018-03-21 16:49:48 -07:00
Alex Dadgar
f062c93e95 Client tls 2018-02-15 15:22:57 -08:00
Michael Schurter
98c72e953b Improve naming and docs 2018-01-08 13:36:07 -08:00
Michael Schurter
4eaa6700fa Logger backed by *testing.T
For capturing log output in tests and only displaying them on failure.

Pulled out of #3241
2018-01-08 12:53:58 -08:00