File: 0004-Increase-integration-tests-timeout-to-1min.patch

package info (click to toggle)
golang-k8s-kube-openapi 0.0~git20241212.2c72e55-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,396 kB
  • sloc: sh: 50; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Nicolas Peugnet <nicolas@club1.fr>
Date: Mon, 17 Mar 2025 16:03:33 +0100
Subject: Increase integration tests' timeout to 1min
Forwarded: https://github.com/kubernetes/kube-openapi/pull/527

On slower platforms, like Debian's current Risc-V build machines, the
20 second timeout was not enough to run the "BeforeSuite node". Hopefully
1 minute will be enough.
---
 test/integration/integration_suite_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/integration/integration_suite_test.go b/test/integration/integration_suite_test.go
index 3285c4c..d6894f7 100644
--- a/test/integration/integration_suite_test.go
+++ b/test/integration/integration_suite_test.go
@@ -42,7 +42,7 @@ const (
 	generatedOpenAPIv3FileName = "generated.v3.json"
 	goldenOpenAPIv3Filename    = "golden.v3.json"
 
-	timeoutSeconds = 20.0
+	timeoutSeconds = 60.0
 )
 
 var (