Merge pull request #35998 from arm64b/fix-timeout-multi-services

Fix timeout issue of  multi-services creation on AArch64
Upstream-commit: 86cb53e80060f6028e7847daef5b790fa7b9995f
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2018-01-13 03:14:31 +01:00
committed by GitHub

View File

@ -43,7 +43,8 @@ func TestCreateServiceMultipleTimes(t *testing.T) {
require.NoError(t, err)
pollSettings := func(config *poll.Settings) {
if runtime.GOARCH == "arm" {
// It takes about ~25s to finish the multi services creation in this case per the pratical observation on arm64/arm platform
if runtime.GOARCH == "arm64" || runtime.GOARCH == "arm" {
config.Timeout = 30 * time.Second
config.Delay = 100 * time.Millisecond
}