open-vault/physical/raft
Mike Jarmy 724af764bb
Test reusable storage (#8983)
* stub out reusable storage test

* implement reusable inmem test

* work on reusable raft test

* stub out simple raft test

* switch to reusable raft storage

* cleanup tests

* cleanup tests

* refactor tests

* verify raft configuration

* cleanup tests

* stub out reuseStorage

* use common base address across clusters

* attempt to reuse raft cluster

* tinker with test

* fix typo

* start debugging

* debug raft configuration

* add BaseClusterListenPort to TestCluster options

* use BaseClusterListenPort in test

* raft join works now

* misc cleanup of raft tests

* use configurable base port for raft test

* clean up raft tests

* add parallelized tests for all backends

* clean up reusable storage tests

* remove debugging code from startClusterListener()

* improve comments in testhelpers

* improve comments in teststorage

* improve comments and test logging

* fix typo in vault/testing

* fix typo in comments

* remove debugging code

* make number of cores parameterizable in test
2020-05-14 08:31:02 -04:00
..
logstore Fixed a bunch of typos (#7146) 2019-07-18 21:10:15 -04:00
chunking_test.go Add additional raft chunk test (#7192) 2019-07-29 14:11:46 -07:00
fsm.go storage/raft: Fix memory allocation issue and Metadata tracking issues with snapshots (#8793) 2020-04-23 11:11:08 -07:00
fsm_test.go Improve raft write performance by utilizing FSM Batching (#7527) 2019-10-14 09:25:07 -06:00
raft.go Test reusable storage (#8983) 2020-05-14 08:31:02 -04:00
raft_test.go storage/raft: Fix memory allocation issue and Metadata tracking issues with snapshots (#8793) 2020-04-23 11:11:08 -07:00
raft_util.go Raft recovery peers non voter (#8681) 2020-04-03 19:13:51 -04:00
snapshot.go storage/raft: Fix memory allocation issue and Metadata tracking issues with snapshots (#8793) 2020-04-23 11:11:08 -07:00
snapshot_test.go storage/raft: Fix memory allocation issue and Metadata tracking issues with snapshots (#8793) 2020-04-23 11:11:08 -07:00
streamlayer.go Create network layer abstraction to allow in-memory cluster traffic (#8173) 2020-01-16 23:03:02 -08:00
types.pb.go
types.proto Add chunking support to raft 2019-07-22 12:17:58 -04:00