Browse Source

raft: extend wait timeout in TestMultiNodeAdvance

This fixes the failure met in semaphore CI:

```
--- FAIL: TestMultiNodeAdvance-2 (0.01s)
		multinode_test.go:458: expect Ready after Advance, but there is
		no Ready available
```
Yicheng Qin 10 years ago
parent
commit
bf3057e5bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raft/multinode_test.go

+ 1 - 1
raft/multinode_test.go

@@ -454,7 +454,7 @@ func TestMultiNodeAdvance(t *testing.T) {
 	mn.Advance(rd1)
 	select {
 	case <-mn.Ready():
-	case <-time.After(time.Millisecond):
+	case <-time.After(100 * time.Millisecond):
 		t.Errorf("expect Ready after Advance, but there is no Ready available")
 	}
 }