From c5f9d4073f769183156aa9cfb0a0f00d0f0cf1d5 Mon Sep 17 00:00:00 2001 From: Doug Nazar Date: Fri, 23 May 2025 05:16:08 -0400 Subject: [PATCH] adaptivedemux2: Fix race for expected error in test After gst-validate-1.0 notices the first expected error on the bus, it will queue the completion of that action while the pipeline is still processing the error and getting to the basesrc for the second error. Mark the second error as 'sometimes=true', as it's not critical to the test. Part-of: --- .../testsuites/validate/dash/retry_backoff_time.validatetest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-integration-testsuites/testsuites/validate/dash/retry_backoff_time.validatetest b/subprojects/gst-integration-testsuites/testsuites/validate/dash/retry_backoff_time.validatetest index 43ed0d395f..a7881aa3c5 100644 --- a/subprojects/gst-integration-testsuites/testsuites/validate/dash/retry_backoff_time.validatetest +++ b/subprojects/gst-integration-testsuites/testsuites/validate/dash/retry_backoff_time.validatetest @@ -8,7 +8,7 @@ meta, expected-issues = { # First attempt to play while the mpd is not available "expected-issue, issue-id=\"runtime::error-on-bus\", details=\".*Service Unavailable.*\"", - "expected-issue, issue-id=\"runtime::error-on-bus\", details=\".*Got error: Internal data stream error.*\"", + "expected-issue, issue-id=\"runtime::error-on-bus\", details=\".*Got error: Internal data stream error.*\", sometimes=true", "expected-issue, issue-id=\"scenario::execution-error\", details=\".*Error message happened while executing action.*\"", # Spurious error that happens racily when tearing down the pipeline "expected-issue, issue-id=\"runtime::error-on-bus\", details=\".*Stream doesn't contain enough.*\", sometimes=true",