oeqa: runtime: go: Increase test_go_compile/test_go_module timeout

These tests tend do take a bit of time, and this is probably why they
have been seen failing a few times in the past months. Rising the
timeout from 5 to 10 minutes appears to help.

Fixes [YOCTO #15999]

(From OE-Core rev: c8a94dfc3a21403e8202a4adddbae9f3bd4a4549)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 998ebfc77db4c8d7567d82560595e0994a310ae0)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
Mathieu Dubois-Briand
2026-05-13 19:05:33 +02:00
committed by Paul Barker
parent 5c73c64d00
commit f4122d12cf

View File

@@ -35,7 +35,7 @@ class GoCompileTest(OERuntimeTestCase):
self.skipTest('go command not found, output: %s' % output)
# Compile the simple Go program
status, output = self.target.run('go build -o /tmp/test /tmp/test.go')
status, output = self.target.run('go build -o /tmp/test /tmp/test.go', 600)
msg = 'go compile failed, output: %s' % output
self.assertEqual(status, 0, msg=msg)
@@ -65,7 +65,7 @@ class GoCompileTest(OERuntimeTestCase):
self.assertEqual(status, 0, msg=msg)
# Build the module
status, output = self.target.run('cd /tmp/hello-go && go build -o hello main.go')
status, output = self.target.run('cd /tmp/hello-go && go build -o hello main.go', 600)
msg = 'go build failed, output: %s' % output
self.assertEqual(status, 0, msg=msg)