Commit Graph

11 Commits

Author SHA1 Message Date
James Phillips ddfa57765c
retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
Frank Schroeder 21a82a0a16
test: Refactor WaitForResult tests with retry
Refactor tests that use testutil.WaitForResult to use retry.

Since this requires refactoring the test functions in general this patch
also shows the use of the github.com/pascaldekloe/goe/verify library
which provides a good mechanism for comparing nested data structures.
Instead of just converting the tests from testutil.WaitForResult to
retry the tests that performing a nested comparison of data structures
are converted to the verify library at the same time.
2017-05-05 17:07:02 +02:00
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
Seth Vargo 0170a28ec9
Use new APIs 2017-03-23 18:48:13 -04:00
Kyle Havlovitz 49d2ce1c3d
Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
Kyle Havlovitz 8009432b1b
Convert configtest and force-leave commands to use Meta 2017-02-06 20:50:51 -05:00
Armon Dadgar 14be60aaca gofmt 2014-05-20 16:25:29 -07:00
William Tisäter 9027d63059 Fix formatting in `TestForceLeaveCommandRun` 2014-05-07 22:50:34 +02:00
William Tisäter dde3b90632 Remove all sleeps from `force_leave_test.go` 2014-05-07 22:45:16 +02:00
Armon Dadgar 6fd3f81c48 command: Fixing more tests 2014-04-11 16:34:29 -07:00
Armon Dadgar 356dff3ec6 Adding the various CLI commands 2013-12-31 13:06:33 -08:00