Просмотр исходного кода

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

Fix timeout issue of  multi-services creation on AArch64
Sebastiaan van Stijn 7 лет назад
Родитель
Сommit
86cb53e800
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      integration/service/create_test.go

+ 2 - 1
integration/service/create_test.go

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