Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bdeggleston/kickboxer
/ functions
Functions
1,093 in github.com/bdeggleston/kickboxer
⨍
Functions
1,093
◇
Types & classes
186
Method
TestPreAcceptMessageBallotIsUpToDate
tests that the accept messages sent out have the same ballot as the local instance
src/consensus/manager_preaccept_test.go:307
Method
TestPreAcceptRequest
(c *gocheck.C)
src/consensus/message_test.go:20
Method
TestPreAcceptResponse
(c *gocheck.C)
src/consensus/message_test.go:38
Method
TestPreAcceptSuccess
(c *gocheck.C)
src/consensus/manager_test.go:194
Method
TestPreAcceptedChangeSuccess
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
Method
TestPreAcceptedFailure
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
Method
TestPreAcceptedSuccess
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
Method
TestPreSendBallotIncrement
tests that the local ballot is incremented before the prepare message is sent
src/consensus/manager_prepare_test.go:106
Method
TestPrepareAccept
tests that a prepare phase that receives prepare responses with accepted instances works as expected
src/consensus/integration_test.go:314
Method
TestPrepareBallotFailure
tests the behavior of a prepare phase with a rejected prepare request
src/consensus/integration_test.go:308
Method
TestPrepareMutex
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
Method
TestPreparePreAccept
tests that a prepare phase that receives prepare responses with preaccepted instances works as expected
src/consensus/integration_test.go:256
Method
TestPrepareRequest
(c *gocheck.C)
src/consensus/message_test.go:137
Method
TestPrepareResponse
(c *gocheck.C)
src/consensus/message_test.go:156
Method
TestPrepareResponseNoInstance
(c *gocheck.C)
src/consensus/message_test.go:175
Method
TestPrepareSuccessorRequest
(c *gocheck.C)
src/consensus/message_test.go:194
Method
TestPrepareSuccessorResponse
(c *gocheck.C)
src/consensus/message_test.go:212
Method
TestPrepareSuccessorResponseNoInstance
(c *gocheck.C)
src/consensus/message_test.go:230
Method
TestQueryResponse
(c *gocheck.C)
src/cluster/message_test.go:115
Method
TestQuorumFailure
tests proper error is returned if less than a quorum respond
src/consensus/manager_accept_test.go:198
Method
TestQuorumFailure
(c *gocheck.C)
src/consensus/manager_prepare_test.go:131
Function
TestReadError
test that read timeouts kill the connection
src/cluster/connection_test.go:29
Method
TestReadRequest
(c *gocheck.C)
src/cluster/message_test.go:94
Method
TestReadRequestCallsCorrectStoreMethod
tests that calling ExecuteRead calls the proper store method
src/cluster/node_test.go:27
Function
TestReconcileSingleValue
tests reconciling a value map with only a single element
src/kvstore/store_test.go:134
Function
TestReconcileSingleValue
tests reconciling a value map with only a single element
src/redis/store_test.go:139
Function
TestReconcilingEmptyMap
tests that attempting to reconcile an empty map returns an error
src/redis/store_test.go:125
Function
TestReconcilingEmptySlice
tests that attempting to reconcile an empty array returns an error
src/kvstore/store_test.go:120
Method
TestRecordStronglyConnectedComponentsSuccess
(c *gocheck.C)
src/consensus/manager_execute_test.go:488
Method
TestRecordStronglyConnectedComponentsUncommittedComponent
(c *gocheck.C)
src/consensus/manager_execute_test.go:524
Method
TestRecordStronglyConnectedComponentsUncommittedDep
tests that strongly connected components are not recorded if the component has an uncommitted dep
src/consensus/manager_execute_test.go:565
Method
TestRejectedInstanceSkip
tests that noop instances are not applied to the store
src/consensus/manager_execute_test.go:609
Method
TestRejectedMessageFailure
if any of the responses have been rejected, an error should be returned
src/consensus/manager_prepare_test.go:374
Method
TestRemovalOfExAckedReads
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
Method
TestRemovalOfExAckedWrites
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
Method
TestRepeatAccept
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
Method
TestRepeatCommit
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
Method
TestRepeatPreaccept
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
Method
TestReplicationFactor
TODO: this tests that the number of nodes returned matches the replication factor
src/topology/ring_test.go:200
Method
TestReportAcknowledged
tests that instance dependencies are marked as acknowledged on commit
src/consensus/manager_accept_test.go:123
Method
TestReportAcknowledged
(c *gocheck.C)
src/consensus/manager_dependencies_test.go:237
Method
TestReportAcknowledged
tests that instance dependencies are marked as acknowledged on commit
src/consensus/manager_commit_test.go:131
Method
TestReportExecuted
tests that instances are marked as executed
src/consensus/manager_execute_test.go:766
Method
TestReportExecution
(c *gocheck.C)
src/consensus/manager_dependencies_test.go:251
Function
TestRestartStreamToNode
tests that streaming is resumed if streaming is interrupted
src/cluster/cluster_streaming_test.go:141
Method
TestResultListenerBroadcast
tests that goroutines listening on an instance are notified of the result when it executes
src/consensus/manager_execute_test.go:710
Method
TestRingIsRefreshedAfterNodeAddition
************** RefreshRing tests **************/
src/topology/ring_test.go:104
Method
TestSelfDependenciesAreNotAcknowledged
(c *gocheck.C)
src/consensus/manager_dependencies_test.go:330
Method
TestSendAcceptBallotFailure
check that a ballot error is returned if the remote instance rejects the message
src/consensus/manager_accept_test.go:226
Method
TestSendAcceptSuccess
tests all replicas returning results
src/consensus/manager_accept_test.go:172
Method
TestSendBallotFailure
check that a ballot error is returned if the remote instance rejects the message
src/consensus/manager_preaccept_test.go:195
Method
TestSendQuorumFailure
(c *gocheck.C)
src/consensus/manager_preaccept_test.go:159
Method
TestSendSuccess
tests message
src/consensus/manager_prepare_test.go:111
Method
TestSendSuccess
tests that calling sendCommit sends commit requests to the other replicas
src/consensus/manager_commit_test.go:175
Method
TestSendSuccessCase
tests all replicas returning results
src/consensus/manager_preaccept_test.go:130
Method
TestSerialization
(c *gocheck.C)
src/store/instruction_test.go:17
Method
TestSerialization
(c *gocheck.C)
src/consensus/instance_test.go:138
Method
TestServerConnectionFailure
tests sending a message other than connection request as a first message results in a closed connection
src/cluster/server_test.go:79
Method
TestServerDiscoverPeersResponse
(c *gocheck.C)
src/cluster/server_response_test.go:15
Method
TestServerNodeRegistrationOnConnection
(c *gocheck.C)
src/cluster/server_test.go:117
Function
TestServerStreamCompleteRequest
tests that the peer server handles a StreamCompleteRequest message properly
src/cluster/cluster_streaming_test.go:222
Function
TestServerStreamDataRequest
tests that the peer server handles a StreamDataRequest message properly
src/cluster/cluster_streaming_test.go:217
Function
TestServerStreamRequest
************** streaming server tests **************/ tests that the peer server handles a StreamRequest message properly
src/cluster/cluster_streaming_test.go:175
Function
TestSet
tests basic function of set
src/kvstore/cmd_set_test.go:12
Function
TestSet
tests basic function of set
src/redis/cmd_set_test.go:12
Function
TestSetConflictingTimestamp
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
Function
TestSetConflictingTimestamp
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
Method
TestSetEqual
(c *gocheck.C)
src/consensus/instance_test.go:22
Method
TestSetNotEqual
(c *gocheck.C)
src/consensus/instance_test.go:29
Function
TestSetRawKey
(t *testing.T)
src/kvstore/store_test.go:68
Function
TestSetRawKey
(t *testing.T)
src/redis/store_test.go:73
Method
TestSetUnion
(c *gocheck.C)
src/consensus/instance_test.go:38
Function
TestSetValidation
tests validation of SET insructions
src/kvstore/cmd_set_test.go:59
Function
TestSetValidation
tests validation of SET insructions
src/redis/cmd_set_test.go:59
Method
TestSetup
tests the cluster constructor works as expected and all of it's basic methods return the proper values
src/cluster/cluster_test.go:46
Method
TestSingleKeyIntegration
tests overall behavior for a single key
src/consensus/manager_dependencies_test.go:63
Method
TestSingleStrongComponentsAreSkipped
tests that components of 1 are not recorded
src/consensus/manager_execute_test.go:429
Method
TestSkipExecuted
tests that instances are not executed twice
src/consensus/manager_execute_test.go:631
Method
TestSkipRejectedInstance
tests that noop instances aren't applied to the store
src/consensus/manager_execute_test.go:697
Method
TestSkippedAcceptSuccessCase
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
Method
TestStartingConnectsToPeer
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
Method
TestStartingConnectsToStore
tests that starting the local node starts the local store
src/cluster/node_test.go:22
Method
TestStreamCompleteRequest
(c *gocheck.C)
src/cluster/message_test.go:136
Method
TestStreamCompleteResponse
(c *gocheck.C)
src/cluster/message_test.go:141
Method
TestStreamDataRequest
(c *gocheck.C)
src/cluster/message_test.go:146
Method
TestStreamDataResponse
(c *gocheck.C)
src/cluster/message_test.go:155
Function
TestStreamFromNodeMethod
TODO: values need to be reconciled on cluster join ************** test stream from node **************/ tests streamFromNode method
src/cluster/cluster_streaming_test.go:21
Function
TestStreamFromNodeMethodWithNonRemoteNode
tests that method panics if the given node is not a remote node
src/cluster/cluster_streaming_test.go:56
Method
TestStreamRequest
(c *gocheck.C)
src/cluster/message_test.go:126
Method
TestStreamRequestResonse
(c *gocheck.C)
src/cluster/server_response_test.go:36
Method
TestStreamResponse
(c *gocheck.C)
src/cluster/message_test.go:131
Function
TestStreamToNode
************** test stream to node **************/ tests that the appropriate keys are streamed to the requesting node
src/cluster/cluster_streaming_test.go:64
Function
TestStreamingReadRouting
reads should be routed directly to the streaming nodes
src/cluster/cluster_streaming_test.go:168
Function
TestStreamingWriteRouting
************** query behavior tests **************/ writes should be routed to the streaming node and mirrored to the local node
src/cluster/cluster_streaming_test.go:163
Function
TestStringEquality
tests the boolean value's equality method
src/kvstore/val_string_test.go:130
Function
TestStringEquality
tests the boolean value's equality method
src/redis/val_string_test.go:141
Function
TestStringInterface
tests that the tombstone struct satisfies the value interface
src/kvstore/val_string_test.go:39
Function
TestStringInterface
tests that the tombstone struct satisfies the value interface
src/redis/val_string_test.go:39
Function
TestStringMismatchReconciliation
tests that mismatched values are reconciled and corrected as expected
src/kvstore/val_string_test.go:45
Function
TestStringMismatchReconciliation
tests that mismatched values are reconciled and corrected as expected
src/redis/val_string_test.go:45
← previous
next →
901–1,000 of 1,093, ranked by callers