summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatoro Mahri <matoro@users.noreply.github.com>2023-04-24 11:24:20 -0400
committerSam James <sam@gentoo.org>2023-04-25 20:00:44 +0100
commit7d75832388dfdc5f715e150fcb48ad31b83a7a9a (patch)
tree953b786129eca2b88c5ce8fba2e48468273b909a /media-video/wireplumber
parentdev-util/ruff: Force rust-1.69 (bug #904988) (diff)
downloadgentoo-7d75832388dfdc5f715e150fcb48ad31b83a7a9a.tar.gz
gentoo-7d75832388dfdc5f715e150fcb48ad31b83a7a9a.tar.bz2
gentoo-7d75832388dfdc5f715e150fcb48ad31b83a7a9a.zip
media-video/wireplumber: crank up internal test timeouts
Bug: https://bugs.gentoo.org/902445 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/wireplumber')
-rw-r--r--media-video/wireplumber/files/wireplumber-0.4.14-backport-pr505.patch31
-rw-r--r--media-video/wireplumber/wireplumber-0.4.14.ebuild1
2 files changed, 32 insertions, 0 deletions
diff --git a/media-video/wireplumber/files/wireplumber-0.4.14-backport-pr505.patch b/media-video/wireplumber/files/wireplumber-0.4.14-backport-pr505.patch
new file mode 100644
index 000000000000..35eedb027b0a
--- /dev/null
+++ b/media-video/wireplumber/files/wireplumber-0.4.14-backport-pr505.patch
@@ -0,0 +1,31 @@
+https://bugs.gentoo.org/show_bug.cgi?id=902445
+https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/505
+
+From b7d41ac5bdf08c682c693e91c77d428268a7869e Mon Sep 17 00:00:00 2001
+From: matoro <75928-matoro1@users.noreply.gitlab.freedesktop.org>
+Date: Thu, 20 Apr 2023 17:53:35 -0400
+Subject: [PATCH] tests: common: crank up timeout for slower devices
+
+Timeout of 3 seconds is too slow for test-si-standard-link on slower
+devices, crank this up with plenty of extra margin. Does not
+practically affect running time on faster devices.
+---
+ tests/common/base-test-fixture.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/common/base-test-fixture.h b/tests/common/base-test-fixture.h
+index b15dd1af2..d1b56ab4b 100644
+--- a/tests/common/base-test-fixture.h
++++ b/tests/common/base-test-fixture.h
+@@ -67,7 +67,7 @@ wp_base_test_fixture_setup (WpBaseTestFixture * self, WpBaseTestFlags flags)
+ g_main_context_push_thread_default (self->context);
+
+ /* watchdog */
+- self->timeout_source = g_timeout_source_new_seconds (3);
++ self->timeout_source = g_timeout_source_new_seconds (8);
+ g_source_set_callback (self->timeout_source, (GSourceFunc) timeout_callback,
+ self, NULL);
+ g_source_attach (self->timeout_source, self->context);
+--
+GitLab
+
diff --git a/media-video/wireplumber/wireplumber-0.4.14.ebuild b/media-video/wireplumber/wireplumber-0.4.14.ebuild
index d63e08f157d4..d7df8416b68f 100644
--- a/media-video/wireplumber/wireplumber-0.4.14.ebuild
+++ b/media-video/wireplumber/wireplumber-0.4.14.ebuild
@@ -71,6 +71,7 @@ DOCS=( {NEWS,README}.rst )
PATCHES=(
"${FILESDIR}"/${PN}-0.4.10-config-disable-sound-server-parts.patch # defer enabling sound server parts to media-video/pipewire
+ "${FILESDIR}"/${PN}-0.4.14-backport-pr505.patch # bug 902445
)
src_configure() {