diff options
Diffstat (limited to 'meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch')
-rw-r--r-- | meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch b/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch new file mode 100644 index 0000000000..5bd1abffb4 --- /dev/null +++ b/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From b4524278985f517b0785b6f64a21380dcf1ff096 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Tatrai <peter.tatrai.ext@siemens.com> | ||
3 | Date: Mon, 4 Nov 2024 13:58:16 +0100 | ||
4 | Subject: [PATCH] oeqa/selftest: Increase timeout in process-sigpipe rust test | ||
5 | |||
6 | This patch increases the timeout for the process-sigpipe rust test, which | ||
7 | occasionally fails when the server is under heavy load. Increasing the timeout | ||
8 | reduces the likelihood of false negatives under load. | ||
9 | |||
10 | Fixes [YOCTO #15625] | ||
11 | |||
12 | Upstream-Status: Inappropriate [OE testing specific] | ||
13 | |||
14 | Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com> | ||
15 | --- | ||
16 | tests/ui/process/process-sigpipe.rs | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/tests/ui/process/process-sigpipe.rs b/tests/ui/process/process-sigpipe.rs | ||
20 | index 11f363d62..c12d66016 100644 | ||
21 | --- a/tests/ui/process/process-sigpipe.rs | ||
22 | +++ b/tests/ui/process/process-sigpipe.rs | ||
23 | @@ -23,7 +23,7 @@ use std::thread; | ||
24 | fn main() { | ||
25 | // Just in case `yes` or `while-echo` doesn't check for EPIPE... | ||
26 | thread::spawn(|| { | ||
27 | - thread::sleep_ms(5000); | ||
28 | + thread::sleep_ms(50000); | ||
29 | process::exit(1); | ||
30 | }); | ||
31 | // QNX Neutrino does not have `yes`. Therefore, use `while-echo` for `nto` | ||