featurebase/cmd
Ben Johnson ca29f7692b
Fix failing tests when IPv6 is disabled.
Turning off IPv6 causes the tests to fail because the Go
`net.Listen()` function obtains a `[::]` address when using
a `localhost:0` bind address. Looking through the Go source
code, I don't see a good way to fix that.

This change adds a test flag to allow users to specify the
network name when running the test:

```sh
go test github.com/pilosa/pilosa/server -network tcp4
```
2017-06-01 14:43:59 -06:00
..
pilosa Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
backup.go update sliceMaxByIndex by view 2017-05-16 11:11:11 -05:00
backup_test.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
bench.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
bench_test.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
check.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
check_test.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
config.go Implement 'config' CLI command. 2017-05-22 09:30:14 -06:00
doc.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
export.go #413 add tests and remove redundant word 2017-05-15 12:54:49 -05:00
export_test.go #413 add tests and remove redundant word 2017-05-15 12:54:49 -05:00
generate_config.go Implement 'config' CLI command. 2017-05-22 09:30:14 -06:00
import.go removed no-op stats tracking, fixed typos 2017-05-30 11:13:39 -05:00
import_test.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
inspect.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
inspect_test.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
restore.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
restore_test.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
root.go Merge remote-tracking branch 'origin/master' into metrics 2017-05-30 15:36:19 -05:00
root_test.go fix review 2017-05-25 12:07:09 -05:00
server.go Remove long query time from Server. That parameter is managed in the Cluster. 2017-05-30 12:55:45 -05:00
server_test.go Fix failing tests when IPv6 is disabled. 2017-06-01 14:43:59 -06:00
sort.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
sort_test.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00