Make tests less prone to fail
License: MIT Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
parent
f3c1636062
commit
e3a52e1d7d
|
@ -122,6 +122,7 @@ func testClusterShutdown(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestClusterStateSync(t *testing.T) {
|
||||
cleanRaft()
|
||||
cl, _, _, st, _ := testingCluster(t)
|
||||
defer cleanRaft()
|
||||
defer cl.Shutdown()
|
||||
|
|
|
@ -121,7 +121,7 @@ func TestUntrack(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
time.Sleep(400 * time.Millisecond)
|
||||
|
||||
st := mpt.Status(h1)
|
||||
if st.Status != api.TrackerStatusUnpinned {
|
||||
|
|
Loading…
Reference in New Issue
Block a user