Cody Soyland
c464e0fe64
Fix linter issues: gofmt
2018-07-16 16:45:42 -05:00
Yuce Tekol
5f2b587e7c
More backup/restore stuff removal
2018-05-29 16:44:57 +03:00
Travis Turner
2f6c4509c2
remove references to cluster.poll-interval
2017-10-30 09:20:09 -05:00
Travis
a3b1b2ee1a
DefaultClusterType = ClusterGossip
...
This commit removes the `httpbroadcast` NodeSet, sets the default cluster type
to `gossip`, and uses the `static` cluster type for most test cases.
2017-08-07 08:25:35 -05:00
Linh Vo
51db1c7784
fix review
2017-05-25 12:07:09 -05:00
Linh Vo
0f45d27028
#33 validate config
2017-05-23 14:40:58 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Matt Jaffee
6f27930f89
add docs for cmd tests
2017-03-21 13:45:06 -05:00
Matt Jaffee
74b79dd928
add tests for subcommands
2017-03-17 16:43:04 -05:00
Matt Jaffee
9aac0d143f
add tests for backup cmd
2017-03-17 16:43:04 -05:00
Matt Jaffee
a1d29537db
small tweaks - make dry-run hidden
2017-03-17 16:43:04 -05:00
Matt Jaffee
e144259a19
make config flag global, and add global dry run flag
...
config flag can be used by all subcommands. Dry run flag stops subcommand
execution after parsing of config - nice for testing.
2017-03-17 16:43:04 -05:00
Matt Jaffee
601e8478da
put all cmd test helpers in root_test and return errors from them
2017-03-17 16:43:04 -05:00
Matt Jaffee
372b7ca1c4
full testing support for pilosa server
...
1. fixed a couple bugs with config file reading.
2. made cmd.Serve a global variable so tests could inspect it.
3. added table style testing for pilosa server
4. added the ability to stop server programmatically which also causes the cobra
command running it to return.
2017-03-17 16:43:04 -05:00
Matt Jaffee
076cc0960a
add some proof of concept command tests
2017-03-17 16:43:04 -05:00