refactor(msg): tests - update data - set waitFor to 60s
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8080b2d6fd
commit
fca59c0a56
|
@ -176,7 +176,7 @@ func TestUpdateData(t *testing.T) {
|
|||
}
|
||||
|
||||
return cmp.Equal(servers, expectedServers, cmpopts.IgnoreTypes(time.Time{}))
|
||||
}, 70*time.Second, time.Second, "servers - stage %d", stage)
|
||||
}, 60*time.Second, time.Second, "servers - stage %d", stage)
|
||||
|
||||
require.NoError(t, ctx.Err())
|
||||
|
||||
|
@ -204,7 +204,7 @@ func TestUpdateData(t *testing.T) {
|
|||
}
|
||||
|
||||
return cmp.Equal(players, expectedPlayers, cmpopts.IgnoreTypes(time.Time{}))
|
||||
}, 70*time.Second, time.Second, "players - stage %d", stage)
|
||||
}, 60*time.Second, time.Second, "players - stage %d", stage)
|
||||
|
||||
require.NoError(t, ctx.Err())
|
||||
|
||||
|
@ -232,7 +232,7 @@ func TestUpdateData(t *testing.T) {
|
|||
}
|
||||
|
||||
return cmp.Equal(tribes, expectedTribes, cmpopts.IgnoreTypes(time.Time{}))
|
||||
}, 70*time.Second, time.Second, "tribes - stage %d", stage)
|
||||
}, 60*time.Second, time.Second, "tribes - stage %d", stage)
|
||||
|
||||
require.NoError(t, ctx.Err())
|
||||
|
||||
|
@ -251,7 +251,7 @@ func TestUpdateData(t *testing.T) {
|
|||
}
|
||||
|
||||
return cmp.Equal(villages, expectedVillages, cmpopts.IgnoreTypes(time.Time{}))
|
||||
}, 70*time.Second, time.Second, "villages - stage %d", stage)
|
||||
}, 60*time.Second, time.Second, "villages - stage %d", stage)
|
||||
|
||||
require.NoError(t, ctx.Err())
|
||||
|
||||
|
@ -274,7 +274,7 @@ func TestUpdateData(t *testing.T) {
|
|||
}
|
||||
|
||||
return cmp.Equal(tcs, expectedTribeChanges, cmpopts.IgnoreTypes(time.Time{}))
|
||||
}, 70*time.Second, time.Second, "tribe changes - stage %d", stage)
|
||||
}, 60*time.Second, time.Second, "tribe changes - stage %d", stage)
|
||||
}
|
||||
|
||||
runUpdateData(1)
|
||||
|
|
Reference in New Issue
Block a user