consul/command
Daniel Nephin 797ee061e4 debug: use human readable dates for filenames
The unix timestamps that were used make the debug data a little bit more
difficult to consume. By using human readable dates we can easily see
when the profile data was collected.

This commit also improves the test coverage. Two test cases are removed
and the assertions from those cases are moved to TestDebugCommand.

Now TestDebugCommand is able to validate the contents of all files. This
change reduces the test runtime of the command/debug package by almost
50%. It also makes much more strict assertions about the contents by
using gotest.tools/v3/fs.
2021-08-18 13:06:57 -04:00
..
acl cli: remove a test case for updating a legacy token 2021-08-17 13:09:30 -04:00
agent Apply suggestions from code review 2021-07-13 12:31:49 -04:00
catalog add partition cli flag to all cli commands that have namespace flag (#10668) 2021-07-21 14:45:24 -05:00
cli cmd: introduce a shim to expose Stdout/Stderr writers 2021-06-02 16:51:34 -04:00
config add partition cli flag to all cli commands that have namespace flag (#10668) 2021-07-21 14:45:24 -05:00
connect cli: Use admin bind address in self_admin cluster (#10757) 2021-08-09 17:10:32 -07:00
debug debug: use human readable dates for filenames 2021-08-18 13:06:57 -04:00
event testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
exec Replace use of 'sane' where appropriate 2021-07-02 12:18:46 -04:00
flags add http flag for admin partition (#10683) 2021-07-22 16:46:02 -04:00
forceleave testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
helpers Centralized Config CLI (#5731) 2019-04-30 16:27:16 -07:00
info testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
intention add partition cli flag to all cli commands that have namespace flag (#10668) 2021-07-21 14:45:24 -05:00
join testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
keygen Update default gossip encryption key size to 32 bytes 2019-07-30 09:45:41 -06:00
keyring testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
kv cli: Fix broken KV import on Windows (#10820) 2021-08-10 14:42:05 -07:00
leave testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
lock testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
login add partition cli flag to all cli commands that have namespace flag (#10668) 2021-07-21 14:45:24 -05:00
logout testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
maint Fix maint test 2021-07-30 12:58:46 -04:00
members testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
monitor fix monitor to only start the monitor in json format when requested (#10358) 2021-06-07 12:08:48 -04:00
operator testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
reload testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
rtt testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
services Fixup to support unix domain socket via command line (#10758) 2021-08-12 10:05:22 -07:00
snapshot Fix panic bug in snapshot inspect (#10091) 2021-04-23 20:48:10 +01:00
tls introduce certopts (#9606) 2021-03-22 10:16:41 +01:00
validate config: replace calls to config.NewBuilder with config.Load 2021-01-27 17:34:43 -05:00
version add v to version pretty formatter (#8341) 2020-07-20 17:43:10 -04:00
watch cli: Test API access using /status/leader in consul watch (#10795) 2021-08-09 09:00:33 -07:00
commands_oss.go debug: restore cancel on SigInt 2021-08-18 12:29:34 -04:00
registry.go debug: restore cancel on SigInt 2021-08-18 12:29:34 -04:00