Skip to content

Commit

Permalink
Change 6 node test to 5 node
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilder committed Apr 21, 2015
1 parent 3b3575e commit da7211a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/influxd/server_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ func Test3NodeServerFailover(t *testing.T) {

// ensure that all queries work if there are more nodes in a cluster than the replication factor
// and there is more than 1 shards
func Test6NodeClusterPartiallyReplicated(t *testing.T) {
func Test5NodeClusterPartiallyReplicated(t *testing.T) {
t.Parallel()
testName := "6-node server integration partial replication"
if testing.Short() {
Expand All @@ -1470,11 +1470,11 @@ func Test6NodeClusterPartiallyReplicated(t *testing.T) {
os.RemoveAll(dir)
}()

nodes := createCombinedNodeCluster(t, testName, dir, 6, nil)
nodes := createCombinedNodeCluster(t, testName, dir, 5, nil)
defer nodes.Close()

runTestsData(t, testName, nodes, "mydb", "myrp", 3)
runTest_rawDataReturnsInOrder(t, testName, nodes, "mydb", "myrp", 3)
runTestsData(t, testName, nodes, "mydb", "myrp", 2)
runTest_rawDataReturnsInOrder(t, testName, nodes, "mydb", "myrp", 2)
}

func TestClientLibrary(t *testing.T) {
Expand Down

0 comments on commit da7211a

Please sign in to comment.