consul/command
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
..
agent test: Refactor WaitForResult tests with retry 2017-05-05 17:07:02 +02:00
base golint: Fix existing comments 2017-04-25 09:26:13 -07:00
configtest.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
configtest_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
event.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
event_test.go Fix imports 2017-05-05 17:07:00 +02:00
exec.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
exec_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
force_leave.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
force_leave_test.go test: Refactor WaitForResult tests with retry 2017-05-05 17:07:02 +02:00
info.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
info_test.go Fix imports 2017-05-05 17:07:00 +02:00
join.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
join_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keygen.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keygen_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keyring.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keyring_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_command.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_command_test.go Add kv command stubs 2016-09-26 16:06:53 -07:00
kv_delete.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_delete_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_export.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_export_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_get.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_get_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_import.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_import_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_put.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_put_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
leave.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
leave_test.go Fix imports 2017-05-05 17:07:00 +02:00
lock.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
lock_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
maint.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
maint_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
members.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
members_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
monitor.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
operator_autopilot.go Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
operator_autopilot_get.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_get_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_set.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
operator_autopilot_set_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_test.go Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
operator_raft.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_list.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_list_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_remove.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_remove_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_test.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
reload.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
reload_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
rtt.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
rtt_test.go test: Refactor WaitForResult tests with retry 2017-05-05 17:07:02 +02:00
snapshot_command.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_command_test.go Adds support for snapshots and restores. (#2396) 2016-10-25 19:20:24 -07:00
snapshot_inspect.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_inspect_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_restore.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_restore_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_save.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_save_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
util_test.go Cleans up a stray mark and fixes unit tests. 2017-03-27 01:28:54 -07:00
util_unix.go command: fix Windows build 2015-01-25 05:00:52 +01:00
util_windows.go docs: describe child process handling on Windows for lock command 2015-01-25 11:42:29 +01:00
validate.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
validate_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
version.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
version_test.go Add missing doc page for version command 2017-02-09 20:08:25 -05:00
watch.go Itty bitty typo 2017-05-02 16:08:07 -07:00
watch_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00