Skip to content

Commit

Permalink
Rollback tests added to IngesterDesc.IsHealthy()
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
pracucci committed Dec 2, 2019
1 parent 6e4635a commit 1495357
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pkg/ring/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,6 @@ func TestIngesterDesc_IsHealthy(t *testing.T) {
writeExpected: false,
readExpected: true,
},
"PENDING ingester with last keepalive newer than timeout": {
ingester: &IngesterDesc{State: PENDING, Timestamp: time.Now().Add(-30 * time.Second).Unix()},
timeout: time.Minute,
writeExpected: false,
readExpected: false,
},
"LEFT ingester with last keepalive newer than timeout": {
ingester: &IngesterDesc{State: LEFT, Timestamp: time.Now().Add(-30 * time.Second).Unix()},
timeout: time.Minute,
writeExpected: false,
readExpected: false,
},
}

for testName, testData := range tests {
Expand Down

0 comments on commit 1495357

Please sign in to comment.