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

Fix timeout issue of  multi-services creation on AArch64
This commit is contained in:
Sebastiaan van Stijn 2018-01-13 03:14:31 +01:00 committed by GitHub
commit 86cb53e800
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}