Documentation ¶
Index ¶
- type ZKTest
- func NewZKClientNameTest(setup ZKTestSetup) *ZKTest
- func NewZKDeleteElectionRaceTest(setup ZKTestSetup) *ZKTest
- func NewZKDeleteMissingElectionTest(setup ZKTestSetup) *ZKTest
- func NewZKFollowerResignationTest(setup ZKTestSetup) *ZKTest
- func NewZKHappyPathTest(setup ZKTestSetup) *ZKTest
- func NewZKLeaderResignationTest(setup ZKTestSetup) *ZKTest
- type ZKTestSetup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZKTest ¶
type ZKTest struct { Desc string Callbacks zkTestCallbacks QuerySize int // Default query size for paged query Err error // not nil: error occured during the test }
ZKTest - Zookeeper test control structure, it implements go.int
func NewZKClientNameTest ¶
func NewZKClientNameTest(setup ZKTestSetup) *ZKTest
NewZKClientNameTest creates a new happy path test case
func NewZKDeleteElectionRaceTest ¶
func NewZKDeleteElectionRaceTest(setup ZKTestSetup) *ZKTest
NewZKDeleteElectionRaceTest creates a new happy path test case
func NewZKDeleteMissingElectionTest ¶
func NewZKDeleteMissingElectionTest(setup ZKTestSetup) *ZKTest
NewZKHappyPathTest creates a new happy path test case
func NewZKFollowerResignationTest ¶
func NewZKFollowerResignationTest(setup ZKTestSetup) *ZKTest
NewZKFollowerResignationTest creates a new happy path test case
func NewZKHappyPathTest ¶
func NewZKHappyPathTest(setup ZKTestSetup) *ZKTest
NewZKHappyPathTest creates a new happy path test case
func NewZKLeaderResignationTest ¶
func NewZKLeaderResignationTest(setup ZKTestSetup) *ZKTest
NewZKLeaderResignationTest creates a new happy path test case
type ZKTestSetup ¶
type ZKTestSetup struct {
// contains filtered or unexported fields
}
ZKTestSetup - test setup
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
The goal of this mock worker is to simulate the behavior of a client who is the leader crashing and a follower client picking up the same work.
|
The goal of this mock worker is to simulate the behavior of a client who is the leader crashing and a follower client picking up the same work. |
Click to show internal directories.
Click to hide internal directories.