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
Function
TestGetKeys
(t *testing.T)
src/redis/store_test.go:90
Method
TestGetLocalNodesForToken
(c *gocheck.C)
src/topology/topology_test.go:109
Function
TestGetManager
(t *testing.T)
src/consensus/manager_test.go:21
Function
TestGetManagerNodes
(t *testing.T)
src/consensus/manager_test.go:29
Function
TestGetManagerReplicas
(t *testing.T)
src/consensus/manager_test.go:33
Method
TestGetNodesForToken
(c *gocheck.C)
src/topology/topology_test.go:95
Method
TestGetNodesForToken
(c *gocheck.C)
src/topology/datacenter_test.go:69
Function
TestGetNonStringFails
tests that calling get on a key holding a value other than a string value returns an error
src/kvstore/cmd_get_test.go:30
Function
TestGetNonStringFails
tests that calling get on a key holding a value other than a string value returns an error
src/redis/cmd_get_test.go:29
Method
TestGetOpensConnection
test that connections are opened if the pool is empty
src/cluster/connectionpool_test.go:87
Method
TestGetOrSet
(c *gocheck.C)
src/consensus/instance_test.go:119
Method
TestGetOrSetExistingInstance
(c *gocheck.C)
src/consensus/manager_test.go:134
Method
TestGetOrSetNewInstance
(c *gocheck.C)
src/consensus/manager_test.go:128
Method
TestGetOrSetNewInstanceAddsToDepsManager
tests that new instances passed into get or set adds the instance to the dependency manager if their status is above preaccepted
src/consensus/manager_test.go:149
Method
TestGetOrSetPreacceptedNewInstanceSkipsDepsManager
tests that new instances passed into get or set don't add the instance to the dependency manager if the status is preaccepted or below
src/consensus/manager_test.go:163
Method
TestGetOrSetResetsToCommitted
tests that get or set sets new instances to committed if the new instance has an status of executed
src/consensus/manager_test.go:177
Function
TestGetRawKeySuccess
----------- data import / export -----------
src/kvstore/store_test.go:50
Function
TestGetRawKeySuccess
----------- data import / export -----------
src/redis/store_test.go:55
Method
TestGetRing
(c *gocheck.C)
src/topology/topology_test.go:85
Method
TestGetRing
(c *gocheck.C)
src/topology/datacenter_test.go:59
Method
TestGetUnknownNode
************** GetNode tests **************/
src/topology/ring_test.go:38
Method
TestGetUnknownNode
(c *gocheck.C)
src/cluster/server_test.go:26
Function
TestGetValidation
tests validation of GET insructions
src/kvstore/cmd_get_test.go:35
Function
TestGetValidation
tests validation of GET insructions
src/redis/cmd_get_test.go:34
Method
TestHandleBallotFailure
tests that new attributes are returned
src/consensus/manager_preaccept_test.go:478
Method
TestHandleCommitAsyncExecute
when a commit message is received, the instance should be asynchronously executed against the store
src/consensus/manager_commit_test.go:288
Method
TestHandleDifferentAttrs
tests that the replica updates the sequence and dependencies if it disagrees with the leader
src/consensus/manager_preaccept_test.go:385
Method
TestHandleIdenticalAttrs
tests that the dependency match flag is set if the seq and deps matched
src/consensus/manager_preaccept_test.go:347
Method
TestHandleNewAttrs
tests that new attributes are returned
src/consensus/manager_preaccept_test.go:438
Method
TestHandleNewSuccess
tests that commits are handled properly if the commit if for an instance the node has not previously seen
src/consensus/manager_commit_test.go:264
Method
TestHandleNoop
(c *gocheck.C)
src/consensus/manager_accept_test.go:326
Method
TestHandleSuccess
tests that an instance is marked as committed when a commit request is recived
src/consensus/manager_commit_test.go:243
Method
TestHandleSuccessCase
test that instances are marked as accepted when an accept request is received, and there are no problems with the request
src/consensus/manager_accept_test.go:300
Method
TestHashes
(c *gocheck.C)
src/partitioner/md5_test.go:11
Method
TestHigherStatusFailure
tests that an instance is not marked as accepted, or added to the inProgress set if it already has a higher status
src/consensus/manager_accept_test.go:78
Method
TestHigherStatusFailure
(c *gocheck.C)
src/consensus/manager_preaccept_test.go:48
Method
TestInitialization
(c *gocheck.C)
src/cluster/connectionpool_test.go:15
Method
TestInstanceCommittedAbort
tests that the preparePhase doesn't actually do anything if the instance has been committed
src/consensus/manager_prepare_test.go:253
Method
TestInstanceCreation
test that instances are created properly
src/consensus/manager_test.go:63
Method
TestInstanceCreationPersistenceError
tests that the comand leader aborts if there's an error creating a new instance
src/consensus/manager_leader_test.go:25
Method
TestInstanceDependentConnectedDependencyOrdering
tests that the dependency ordering of connected instances is the same, regardless of the 'target' instance
src/consensus/manager_execute_test.go:276
Method
TestInstanceDependentDependencyOrdering
tests that the dependency ordering is the same, regardless of the 'target' instance
src/consensus/manager_execute_test.go:305
Method
TestInstanceRequest
(c *gocheck.C)
src/consensus/message_test.go:248
Method
TestInstanceResponse
(c *gocheck.C)
src/consensus/message_test.go:266
Method
TestInstanceStrongComponentsAreIncludedInExOrder
tests that getting the execution order saves the strongly connected component ids on the instances
src/consensus/manager_execute_test.go:395
Method
TestIntegration
(c *gocheck.C)
src/consensus/manager_dependencies_test.go:368
Function
TestInterfaceIsImplemented
(t *testing.T)
src/redis/store_test.go:48
Method
TestInvalidPartitioner
(c *gocheck.C)
src/cluster/cluster_test.go:72
Method
TestInvalidReplicationFactor
tests that instantiating a cluster with an invalid replication factor returns an error
src/cluster/cluster_test.go:56
Function
TestIsReadCmd
(t *testing.T)
src/kvstore/store_test.go:35
Function
TestIsReadCmd
(t *testing.T)
src/redis/store_test.go:35
Function
TestIsWriteCmd
(t *testing.T)
src/kvstore/store_test.go:22
Function
TestIsWriteCmd
(t *testing.T)
src/redis/store_test.go:22
Method
TestIsZero
(c *gocheck.C)
src/types/b16_test.go:29
Function
TestKeyExists
(t *testing.T)
src/kvstore/store_test.go:109
Function
TestKeyExists
(t *testing.T)
src/redis/store_test.go:114
Method
TestKeyRouting
tests that the proper nodes are returned for the given keys
src/topology/ring_test.go:153
Method
TestLastKeyReadIsUpdated
tests the last reads array is updated if the instance is a read
src/consensus/manager_dependencies_test.go:164
Method
TestLastKeyWriteIsUpdated
tests the last write is updated if the instance is a write
src/consensus/manager_dependencies_test.go:195
Method
TestLocalReadDeps
tests the deps reported by a single deps node for a read
src/consensus/manager_dependencies_test.go:210
Method
TestLocalWriteDeps
tests the deps reported by a single deps node for a write
src/consensus/manager_dependencies_test.go:223
Method
TestMergeAttributes
(c *gocheck.C)
src/consensus/manager_preaccept_test.go:229
Method
TestMergeAttributesBadStatus
tests that calling merge attributes fails if the instance status id not preaccepted
src/consensus/instance_test.go:176
Method
TestMergeAttributesNoChanges
(c *gocheck.C)
src/consensus/manager_preaccept_test.go:275
Method
TestMessageSendingFailureCase
tests that a node is marked as down if sending a message fails
src/cluster/node_test.go:105
Method
TestMessageSendingSuccessCase
tests that sending and receiving messages works as expected
src/cluster/node_test.go:81
Function
TestMismatchedStreamReceive
test that reconciliation is performed if the received value doesn't match the value on this node
src/cluster/cluster_streaming_test.go:155
Method
TestMissingDependencyOrder
getExecutionOrder should return an error if an instance depends on an instance that the manager hasn't seen
src/consensus/manager_execute_test.go:332
Method
TestMissingInstanceSuccess
tests that handle accept adds any missing instances in the missing instances message
src/consensus/manager_accept_test.go:408
Method
TestMissingInstanceSuccessCase
(c *gocheck.C)
src/consensus/integration_test.go:73
Method
TestMissingVertex1
tests that missing vertices are skipped
src/consensus/algorithms_test.go:98
Method
TestMissingVertex2
(c *gocheck.C)
src/consensus/algorithms_test.go:116
Method
TestMixedNilResponses
tests that a mix of responses with nil instances, and not nil instances is safe from nil pointer errors
src/consensus/manager_prepare_test.go:228
Method
TestNewDependencyMap
tests that a new dependencies object is created for new leaf nodes
src/consensus/manager_dependencies_test.go:131
Method
TestNewInstanceSuccess
tests that an instance is marked as accepted, added to the instances and inProgress set, and persisted if the instance hasn't been seen before
src/consensus/manager_accept_test.go:58
Method
TestNewInstanceSuccess
tests that accepts are handled properly if the commit if for an instance the node has not been previously seen by this replica
src/consensus/manager_accept_test.go:353
Method
TestNewNoopAccept
tests that the noop flag is recognized when preaccepting new instances
src/consensus/manager_accept_test.go:112
Method
TestNewNoopPreaccept
tests that the noop flag is recognized when preaccepting new instances
src/consensus/manager_preaccept_test.go:86
Method
TestNewRootDependencyMap
tests that a new dependencies object is created for new root nodes
src/consensus/manager_dependencies_test.go:30
Method
TestNewSuccessCase
tests that an instance is marked as committed, added to the instances and committed set, and persisted if the instance hasn't been seen before
src/consensus/manager_commit_test.go:58
Method
TestNilSuccessorResponse
tests that the non successor will go to the next successor if the successor returns a nil instance
src/consensus/manager_prepare_test.go:894
Method
TestNoSelfDependence
tests that an instance cannot gain a dependency on itself
src/consensus/manager_dependencies_test.go:181
Method
TestNodeStreamsFromCorrectNode
TODO: this tests that a node joining the cluster identifies the correct node to stream data from, and sends it a message
src/cluster/cluster_join_test.go:18
Method
TestNodesAreStarted
tests all nodes are started on cluster startup
src/cluster/cluster_test.go:214
Method
TestNonReplicaLeaderFailure
tests that execution will fail if the command leader (the node running ExecuteQuery can't find itself in the list of given replicas
src/consensus/manager_leader_test.go:19
Method
TestNonStronglyConnectedGraph
tests that the graph 0 -> 1 -> 2 -> 3 -> 4 returns 4 components
src/consensus/algorithms_test.go:80
Method
TestNumBytesCalculation
(c *gocheck.C)
src/store/instruction_test.go:35
Method
TestOldBallotFailure
tests that accept messages fail if an higher ballot number has been seen for this message
src/consensus/manager_accept_test.go:385
Method
TestOldNoopAccept
tests that the noop flag is recognized when preaccepting previously seen instances
src/consensus/manager_accept_test.go:118
Method
TestOldNoopPreaccept
tests that the noop flag is recognized when preaccepting previously seen instances
src/consensus/manager_preaccept_test.go:99
Method
TestOpenConnectionReturn
tests that open connections are returned to the connection pool
src/cluster/connectionpool_test.go:29
Method
TestOtherDCDiscoveryFromExistingPeers
(c *gocheck.C)
src/cluster/cluster_test.go:531
Method
TestOtherDCPeerDiscoveryFromSeedAddresses
tests that discovering peers from a list of seed addresses that belong to different DCs works properly
src/cluster/cluster_test.go:390
Method
TestPeerDiscoveryNodeDataFailure
tests that a node is still added to the ring, even if there's a problem connecting to it when discovered from another node
src/cluster/cluster_test.go:597
Method
TestPeerDiscoveryOnStartup
tests that all peers are discovered on startup
src/cluster/cluster_test.go:293
Method
TestPeerDiscoveryResponse
tests that the discoverPeers function returns the proper data
src/cluster/cluster_test.go:299
Method
TestPeerDiscoverySeedFailure
(c *gocheck.C)
src/cluster/cluster_test.go:571
Method
TestPeerServerIsStarted
(c *gocheck.C)
src/cluster/cluster_test.go:237
Method
TestPoolSize
tests that pool counter is incremented and decremented properly
src/cluster/connectionpool_test.go:107
Method
TestPreAcceptBallotFailure
(c *gocheck.C)
src/consensus/manager_test.go:198
← previous
next →
801–900 of 1,093, ranked by callers