From: Mathieu Dubois-Briand <[email protected]> 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] Signed-off-by: Mathieu Dubois-Briand <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (From OE-Core rev: 998ebfc77db4c8d7567d82560595e0994a310ae0) Signed-off-by: Peter Marko <[email protected]> --- meta/lib/oeqa/runtime/cases/go.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/runtime/cases/go.py b/meta/lib/oeqa/runtime/cases/go.py index d4b69438a56..0c9c4ff4cd3 100644 --- a/meta/lib/oeqa/runtime/cases/go.py +++ b/meta/lib/oeqa/runtime/cases/go.py @@ -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)
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#236995): https://lists.openembedded.org/g/openembedded-core/message/236995 Mute This Topic: https://lists.openembedded.org/mt/119300653/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
