Ryan Slade
6f05ea91a3
Replace time.Now().Sub(x) with time.Since(x)
2017-10-17 20:38:24 +02:00
Frank Schroeder
6a1ab1a2e0
api: refactor: unify naming of API tests
2017-07-07 09:22:34 +02:00
Frank Schroeder
97b7578ccd
api: refactor: prefix all API tests with API_
2017-07-07 09:22:34 +02:00
Frank Schroeder
995c8d7086
test: make test less flaky
2017-05-12 22:12:47 +02:00
James Phillips
6dd0835319
Makes the timeout behavior more intuitive.
...
Previously, it would try once "up to" the timeout, but in practice it would
just fall through. This modifies the behavior to block until the timeout has
been reached.
2016-01-06 09:40:20 -08:00
James Phillips
169825ed90
Adds the ability for semaphore monitors to ride out brief periods of 500 errors.
2016-01-05 18:22:36 -08:00
James Phillips
3348cf4c0b
Adds "try" support to locks and semaphores.
2016-01-05 18:22:36 -08:00
Ryan Uber
234466b412
api: run tests in parallel
2015-05-08 10:27:24 -07:00
Ryan Uber
0af4bd8b23
testutil: initial pass at moving test server harness into testutil
2015-03-19 17:03:06 -07:00
Armon Dadgar
bed066dda9
api: Detect conflicting existing values for lock/semaphore
2015-01-19 15:32:19 -10:00
Armon Dadgar
af186ac54a
api: Adding Destroy to cleanup a semaphore
2015-01-13 14:18:28 -08:00
Armon Dadgar
25bda51af3
api: More semaphore tests
2015-01-12 18:18:32 -08:00
Armon Dadgar
755525e424
api: Adding semaphore tests and fixes
2015-01-12 18:13:52 -08:00