refactor(msg): tests - update data - set waitFor to 60s
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dawid Wysokiński 2023-02-26 07:08:20 +01:00
parent 8080b2d6fd
commit fca59c0a56
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -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)