MCPcopy Create free account

hub / github.com/bdeggleston/kickboxer / functions

Functions1,093 in github.com/bdeggleston/kickboxer

MethodTestPreAcceptMessageBallotIsUpToDate
tests that the accept messages sent out have the same ballot as the local instance
src/consensus/manager_preaccept_test.go:307
MethodTestPreAcceptRequest
(c *gocheck.C)
src/consensus/message_test.go:20
MethodTestPreAcceptResponse
(c *gocheck.C)
src/consensus/message_test.go:38
MethodTestPreAcceptSuccess
(c *gocheck.C)
src/consensus/manager_test.go:194
MethodTestPreAcceptedChangeSuccess
tests that receiving prepare responses, where the highest balloted instance's status was preaccepted, a preaccept phase is initiated, and the accept p
src/consensus/manager_prepare_test.go:486
MethodTestPreAcceptedFailure
tests that receiving prepare responses, where the highest balloted instance's status was preaccepted, a preaccept phase is initiated, and the method r
src/consensus/manager_prepare_test.go:511
MethodTestPreAcceptedSuccess
tests that receiving prepare responses, where the highest balloted instance's status was preaccepted, a preaccept phase is initiated
src/consensus/manager_prepare_test.go:460
MethodTestPreSendBallotIncrement
tests that the local ballot is incremented before the prepare message is sent
src/consensus/manager_prepare_test.go:106
MethodTestPrepareAccept
tests that a prepare phase that receives prepare responses with accepted instances works as expected
src/consensus/integration_test.go:314
MethodTestPrepareBallotFailure
tests the behavior of a prepare phase with a rejected prepare request
src/consensus/integration_test.go:308
MethodTestPrepareMutex
tests that the prepare mutex prevents multiple goroutines from trying to run a prepare phase on the same instance simultaneously
src/consensus/manager_prepare_test.go:351
MethodTestPreparePreAccept
tests that a prepare phase that receives prepare responses with preaccepted instances works as expected
src/consensus/integration_test.go:256
MethodTestPrepareRequest
(c *gocheck.C)
src/consensus/message_test.go:137
MethodTestPrepareResponse
(c *gocheck.C)
src/consensus/message_test.go:156
MethodTestPrepareResponseNoInstance
(c *gocheck.C)
src/consensus/message_test.go:175
MethodTestPrepareSuccessorRequest
(c *gocheck.C)
src/consensus/message_test.go:194
MethodTestPrepareSuccessorResponse
(c *gocheck.C)
src/consensus/message_test.go:212
MethodTestPrepareSuccessorResponseNoInstance
(c *gocheck.C)
src/consensus/message_test.go:230
MethodTestQueryResponse
(c *gocheck.C)
src/cluster/message_test.go:115
MethodTestQuorumFailure
tests proper error is returned if less than a quorum respond
src/consensus/manager_accept_test.go:198
MethodTestQuorumFailure
(c *gocheck.C)
src/consensus/manager_prepare_test.go:131
FunctionTestReadError
test that read timeouts kill the connection
src/cluster/connection_test.go:29
MethodTestReadRequest
(c *gocheck.C)
src/cluster/message_test.go:94
MethodTestReadRequestCallsCorrectStoreMethod
tests that calling ExecuteRead calls the proper store method
src/cluster/node_test.go:27
FunctionTestReconcileSingleValue
tests reconciling a value map with only a single element
src/kvstore/store_test.go:134
FunctionTestReconcileSingleValue
tests reconciling a value map with only a single element
src/redis/store_test.go:139
FunctionTestReconcilingEmptyMap
tests that attempting to reconcile an empty map returns an error
src/redis/store_test.go:125
FunctionTestReconcilingEmptySlice
tests that attempting to reconcile an empty array returns an error
src/kvstore/store_test.go:120
MethodTestRecordStronglyConnectedComponentsSuccess
(c *gocheck.C)
src/consensus/manager_execute_test.go:488
MethodTestRecordStronglyConnectedComponentsUncommittedComponent
(c *gocheck.C)
src/consensus/manager_execute_test.go:524
MethodTestRecordStronglyConnectedComponentsUncommittedDep
tests that strongly connected components are not recorded if the component has an uncommitted dep
src/consensus/manager_execute_test.go:565
MethodTestRejectedInstanceSkip
tests that noop instances are not applied to the store
src/consensus/manager_execute_test.go:609
MethodTestRejectedMessageFailure
if any of the responses have been rejected, an error should be returned
src/consensus/manager_prepare_test.go:374
MethodTestRemovalOfExAckedReads
tests that write deps are removed from the dependency manager if they've been both executed and acknowledged
src/consensus/manager_dependencies_test.go:298
MethodTestRemovalOfExAckedWrites
tests that read deps are removed from the dependency manager if they've been both executed and acknowledged
src/consensus/manager_dependencies_test.go:264
MethodTestRepeatAccept
if an instance is being accepted twice which is possible if there's an explicit prepare, it should copy some attributes, (noop), and not overwrite any
src/consensus/manager_accept_test.go:96
MethodTestRepeatCommit
if an instance is being committed twice which is possible if there's an explicit prepare, it should copy some attributes, (noop), and not overwrite an
src/consensus/manager_commit_test.go:106
MethodTestRepeatPreaccept
if an instance is being preaccepted twice which is possible if there's an explicit prepare, it should copy some attributes, (noop), and not overwrite
src/consensus/manager_preaccept_test.go:70
MethodTestReplicationFactor
TODO: this tests that the number of nodes returned matches the replication factor
src/topology/ring_test.go:200
MethodTestReportAcknowledged
tests that instance dependencies are marked as acknowledged on commit
src/consensus/manager_accept_test.go:123
MethodTestReportAcknowledged
(c *gocheck.C)
src/consensus/manager_dependencies_test.go:237
MethodTestReportAcknowledged
tests that instance dependencies are marked as acknowledged on commit
src/consensus/manager_commit_test.go:131
MethodTestReportExecuted
tests that instances are marked as executed
src/consensus/manager_execute_test.go:766
MethodTestReportExecution
(c *gocheck.C)
src/consensus/manager_dependencies_test.go:251
FunctionTestRestartStreamToNode
tests that streaming is resumed if streaming is interrupted
src/cluster/cluster_streaming_test.go:141
MethodTestResultListenerBroadcast
tests that goroutines listening on an instance are notified of the result when it executes
src/consensus/manager_execute_test.go:710
MethodTestRingIsRefreshedAfterNodeAddition
************** RefreshRing tests **************/
src/topology/ring_test.go:104
MethodTestSelfDependenciesAreNotAcknowledged
(c *gocheck.C)
src/consensus/manager_dependencies_test.go:330
MethodTestSendAcceptBallotFailure
check that a ballot error is returned if the remote instance rejects the message
src/consensus/manager_accept_test.go:226
MethodTestSendAcceptSuccess
tests all replicas returning results
src/consensus/manager_accept_test.go:172
MethodTestSendBallotFailure
check that a ballot error is returned if the remote instance rejects the message
src/consensus/manager_preaccept_test.go:195
MethodTestSendQuorumFailure
(c *gocheck.C)
src/consensus/manager_preaccept_test.go:159
MethodTestSendSuccess
tests message
src/consensus/manager_prepare_test.go:111
MethodTestSendSuccess
tests that calling sendCommit sends commit requests to the other replicas
src/consensus/manager_commit_test.go:175
MethodTestSendSuccessCase
tests all replicas returning results
src/consensus/manager_preaccept_test.go:130
MethodTestSerialization
(c *gocheck.C)
src/store/instruction_test.go:17
MethodTestSerialization
(c *gocheck.C)
src/consensus/instance_test.go:138
MethodTestServerConnectionFailure
tests sending a message other than connection request as a first message results in a closed connection
src/cluster/server_test.go:79
MethodTestServerDiscoverPeersResponse
(c *gocheck.C)
src/cluster/server_response_test.go:15
MethodTestServerNodeRegistrationOnConnection
(c *gocheck.C)
src/cluster/server_test.go:117
FunctionTestServerStreamCompleteRequest
tests that the peer server handles a StreamCompleteRequest message properly
src/cluster/cluster_streaming_test.go:222
FunctionTestServerStreamDataRequest
tests that the peer server handles a StreamDataRequest message properly
src/cluster/cluster_streaming_test.go:217
FunctionTestServerStreamRequest
************** streaming server tests **************/ tests that the peer server handles a StreamRequest message properly
src/cluster/cluster_streaming_test.go:175
FunctionTestSet
tests basic function of set
src/kvstore/cmd_set_test.go:12
FunctionTestSet
tests basic function of set
src/redis/cmd_set_test.go:12
FunctionTestSetConflictingTimestamp
if set is called with a timestamp which is lower than the existing value, it should be ignored
src/kvstore/cmd_set_test.go:48
FunctionTestSetConflictingTimestamp
if set is called with a timestamp which is lower than the existing value, it should be ignored
src/redis/cmd_set_test.go:48
MethodTestSetEqual
(c *gocheck.C)
src/consensus/instance_test.go:22
MethodTestSetNotEqual
(c *gocheck.C)
src/consensus/instance_test.go:29
FunctionTestSetRawKey
(t *testing.T)
src/kvstore/store_test.go:68
FunctionTestSetRawKey
(t *testing.T)
src/redis/store_test.go:73
MethodTestSetUnion
(c *gocheck.C)
src/consensus/instance_test.go:38
FunctionTestSetValidation
tests validation of SET insructions
src/kvstore/cmd_set_test.go:59
FunctionTestSetValidation
tests validation of SET insructions
src/redis/cmd_set_test.go:59
MethodTestSetup
tests the cluster constructor works as expected and all of it's basic methods return the proper values
src/cluster/cluster_test.go:46
MethodTestSingleKeyIntegration
tests overall behavior for a single key
src/consensus/manager_dependencies_test.go:63
MethodTestSingleStrongComponentsAreSkipped
tests that components of 1 are not recorded
src/consensus/manager_execute_test.go:429
MethodTestSkipExecuted
tests that instances are not executed twice
src/consensus/manager_execute_test.go:631
MethodTestSkipRejectedInstance
tests that noop instances aren't applied to the store
src/consensus/manager_execute_test.go:697
MethodTestSkippedAcceptSuccessCase
test that instances have the right dependency graph when they miss an accept message, but receive a commit message with the correct deps
src/consensus/integration_test.go:182
MethodTestStartingConnectsToPeer
tests that calling Start on a remote node initiates a connection to the remote peer server, copies it's data, and sets the node's status to UP
src/cluster/node_test.go:45
MethodTestStartingConnectsToStore
tests that starting the local node starts the local store
src/cluster/node_test.go:22
MethodTestStreamCompleteRequest
(c *gocheck.C)
src/cluster/message_test.go:136
MethodTestStreamCompleteResponse
(c *gocheck.C)
src/cluster/message_test.go:141
MethodTestStreamDataRequest
(c *gocheck.C)
src/cluster/message_test.go:146
MethodTestStreamDataResponse
(c *gocheck.C)
src/cluster/message_test.go:155
FunctionTestStreamFromNodeMethod
TODO: values need to be reconciled on cluster join ************** test stream from node **************/ tests streamFromNode method
src/cluster/cluster_streaming_test.go:21
FunctionTestStreamFromNodeMethodWithNonRemoteNode
tests that method panics if the given node is not a remote node
src/cluster/cluster_streaming_test.go:56
MethodTestStreamRequest
(c *gocheck.C)
src/cluster/message_test.go:126
MethodTestStreamRequestResonse
(c *gocheck.C)
src/cluster/server_response_test.go:36
MethodTestStreamResponse
(c *gocheck.C)
src/cluster/message_test.go:131
FunctionTestStreamToNode
************** test stream to node **************/ tests that the appropriate keys are streamed to the requesting node
src/cluster/cluster_streaming_test.go:64
FunctionTestStreamingReadRouting
reads should be routed directly to the streaming nodes
src/cluster/cluster_streaming_test.go:168
FunctionTestStreamingWriteRouting
************** query behavior tests **************/ writes should be routed to the streaming node and mirrored to the local node
src/cluster/cluster_streaming_test.go:163
FunctionTestStringEquality
tests the boolean value's equality method
src/kvstore/val_string_test.go:130
FunctionTestStringEquality
tests the boolean value's equality method
src/redis/val_string_test.go:141
FunctionTestStringInterface
tests that the tombstone struct satisfies the value interface
src/kvstore/val_string_test.go:39
FunctionTestStringInterface
tests that the tombstone struct satisfies the value interface
src/redis/val_string_test.go:39
FunctionTestStringMismatchReconciliation
tests that mismatched values are reconciled and corrected as expected
src/kvstore/val_string_test.go:45
FunctionTestStringMismatchReconciliation
tests that mismatched values are reconciled and corrected as expected
src/redis/val_string_test.go:45
← previousnext →901–1,000 of 1,093, ranked by callers