Travis Turner
c7c1be6813
change read lock to write lock
2017-11-03 17:43:05 -05:00
Travis Turner
73b9d9fd85
Add Cluster resize tests.
...
Consolidate schema creation into Holder.ApplySchema.
Add view names to proto schema.
2017-11-03 17:22:39 -05:00
Travis Turner
ed7dcdcdef
rename NodeState to ClusterState
2017-10-30 13:09:27 -05:00
Travis Turner
f4b0729458
Rename structs and funcs.
...
NodeSet -> MemberSet
URISet -> NodeSet
AddNode -> AddNodeBasicSorted
AddHost -> AddNode
2017-10-30 13:03:55 -05:00
Travis Turner
deed9adfe4
Fix existing tests
2017-10-25 11:53:11 -05:00
Travis Turner
a8871ada6a
Convert Host to URI.
...
Fix all compile errors.
2017-10-25 11:52:55 -05:00
Travis
f1e3ac90d4
Determine cluster membership via gossip.
...
Handle resize cluster events.
Add Toplogy support.
Refactor FrameOptions.
Add tests.
2017-10-25 00:27:30 -05:00
Yuce Tekol
e223ec3f9a
Rename Host -> URI
2017-10-12 15:49:34 +03:00
Yuce Tekol
65ad94c376
clusters with https + self signed certificates work (using --tls.skip-verify)
2017-10-10 04:48:15 +03:00
Yuce Tekol
3501732b19
https with signed certificates work
2017-10-08 21:11:19 +03:00
Yuce Tekol
a95b09d30d
more host string to uri changes
2017-10-04 15:29:00 +03:00
Yuce Tekol
1bedfd6585
use URI instead of host
2017-10-04 08:20:00 +03:00
Travis
52428ee6ac
Correct a comment in the tests
2017-08-26 11:47:59 -05:00
Michael Baird
f5832cda02
Clarify that Holder Reopen requires Close to be run beforehand.
2017-08-22 15:13:21 -05:00
Michael Baird
2dfa689d71
Fragment.Close now returns an error.
...
This required changing the Holder test utility Reopen, since in those cases we needed to close the file before making permission changes that Close() was failing silently on.
2017-08-22 14:52:07 -05:00
Michael Baird
867af19f9b
removed duplicate test
2017-06-29 15:52:57 -05:00
Cody Soyland
0631a63de2
Refactor additional test utilities into pilosa.test
2017-06-26 16:30:04 -05:00
Cody Soyland
85b1a73b73
Refactor test utilities into importable package.
...
Remove duplicate instances of test utilities from pilosa.ctl.
Now subpackages such as pilosa.ctl may import test utilities.
2017-06-23 09:10:15 -05:00
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