17 Commits (18831-backport1.16.2)

Author SHA1 Message Date
Ronald 4c070c38e4
Copyright headers for command folder (#16705) 2 years ago
Kyle Schochenmaier bf0f61a878
removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short 4 years ago
Daniel Nephin 475659a132 Remove name from NewTestAgent 5 years ago
Paul Lesiak 527daba03c bug: Consul lock does not receive signals if lock not acquired (#5909) 5 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517) 6 years ago
Alvin Huang 31af6be26a add serf check to TestLockCommand 6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 6 years ago
Freddy 6d43d24edb
Improve reliability of tests with TestAgent (#4525) 6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472) 6 years ago
Frank Schroeder 1b026de1db commands: run all tests in parallel (again) 7 years ago
Frank Schroeder 56b24d3d4f commands: cleanup help and synopsis. 7 years ago
Frank Schroeder d54a5ef8d8 commands: do not run cmd tests in parallel 7 years ago
Frank Schroeder e5d08cf47d commands: add missing noTabs test 7 years ago
Frank Schroeder 84a82cff3d commands: cleanup test names 7 years ago
Preetha Appan ff4d070bdf Move lock command to its own package 7 years ago
Kyle Havlovitz 198ed6076d Clean up subprocess handling and make shell use optional (#3509) 7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480) 7 years ago
James Phillips 08a8d9f2a7 command/lock: Add -child-exitcode, return 2 on child error (#3329) 7 years ago
Frank Schroeder 1c75cf1af5 pkg refactor 8 years ago
Frank Schroeder 8f943542b0
test: use cli.NewMockUi instead of new(cli.MockUi) 8 years ago
Frank Schroeder 9509ab463c
test: run command tests in parallel 8 years ago
Frank Schroeder 53c1c86ab3
test: refactor command tests to use TestAgent 8 years ago
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs 8 years ago
Kyle Havlovitz 49d2ce1c3d
Move command Meta to base.Command and split http options 8 years ago
Kyle Havlovitz 8009432b1b
Convert configtest and force-leave commands to use Meta 8 years ago
Seth Vargo de1718a8a6
Centralize command-line parsing 8 years ago
James Phillips 49342dc973 Makes the timeout behavior more intuitive. 9 years ago
James Phillips 1d733f4c36 Defaults monitor retries to 3 retries @ 1s for the consul lock command. 9 years ago
James Phillips 4afeddacc8 Adds monitor retries to the consul lock command. 9 years ago
James Phillips 8caa9e4c7e Adds "try" support to locks and semaphores. 9 years ago
Armon Dadgar d6837e2f31 command/lock: Adding simple test 10 years ago