arnaud briche
bbb5f4696a
- add tests for CheckHTTP with new timeout parameter && CheckType.Timeout parsing
2015-02-02 15:30:44 +07:00
Ryan Uber
eda2171bbe
agent: make check tests more reliable
2015-01-23 16:07:20 -08:00
Nicholas Capo
641476a822
command/agent: Add tests for HTTP Check
2015-01-13 00:09:42 +00:00
Ryan Breen
f2bd641402
Clean up log line and reduce test time.
2014-12-18 09:00:51 -05:00
Ryan Breen
d82ef7bb8c
Test that staggered checks run within the defined interval.
2014-12-17 22:39:11 -05:00
Nelson Elhage
8af424fc4c
tests: Don't generate binary output from checks.
...
The tests will end up logging the check output, and spewing random
binary all over a terminal never results in anything good.
2014-05-26 13:23:10 -07:00
William Tisäter
0e865daf4c
Run checks more often in `expectStatus`
2014-05-09 03:41:10 +02:00
William Tisäter
cdc59aa5d3
Fix race condition in `TestCheckTTL`
...
Apparently the execution of `TestCheckTTL` could sometime take > 10ms
causing it to fail. This commit will eliminate the race condition for
most modern hardware.
2014-05-06 20:54:49 +02:00
Armon Dadgar
64efde9be0
agent: Limit health check output to 4K. Fixes #83 .
2014-04-29 15:28:56 -07:00
Armon Dadgar
410a0de0c8
Seperate localState from Agent
2014-01-21 11:52:25 -08:00
Armon Dadgar
7aa278e2ef
Allow setting the health check notes
2014-01-20 17:19:20 -10:00
Armon Dadgar
939c381d87
Adding CheckTTL for TTL based checks
2014-01-20 17:12:40 -10:00
Armon Dadgar
a1b2a13df5
Testing the CheckMonitor
2014-01-20 16:58:05 -10:00