summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-22 10:37:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-24 08:25:14 +0000
commit2848b3d949312681902a51938dae34f6389bd24d (patch)
tree46630fa4b3fba49166e73744dc5444df297047d0 /meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
parent2d99b0993aa7a703c4fd6a3b7c0ddbaa28608aac (diff)
downloadpoky-2848b3d949312681902a51938dae34f6389bd24d.tar.gz
glib-2.0: add a patch to increase a test timeout
There have been intermittent ptest failures in this test; I couldn't reproduce the failures in isolation, and this is the only reason I can think of from reading code. (From OE-Core rev: eddbc1880231dd3839c635f688a2a46589fd1b51) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
new file mode 100644
index 0000000000..508c8c3bad
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
@@ -0,0 +1,26 @@
1From b833254bcc9fcf4cdc2572027b1154d799535ca4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sun, 20 Dec 2020 22:01:43 +0100
4Subject: [PATCH] gio/tests/codegen.py: bump timeout to 100 seconds
5
6This may be necessary on overloaded CI systems.
7
8Upstream-Status: Pending
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 gio/tests/codegen.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/gio/tests/codegen.py b/gio/tests/codegen.py
15index 51de0ed..ca98c9d 100644
16--- a/gio/tests/codegen.py
17+++ b/gio/tests/codegen.py
18@@ -51,7 +51,7 @@ class TestCodegen(unittest.TestCase):
19 cwd = ''
20
21 def setUp(self):
22- self.timeout_seconds = 10 # seconds per test
23+ self.timeout_seconds = 100 # seconds per test
24 self.tmpdir = tempfile.TemporaryDirectory()
25 self.cwd = os.getcwd()
26 os.chdir(self.tmpdir.name)