Skip to content

Commit

Permalink
Fix: Instability of the gstreamer ST30P TX tests
Browse files Browse the repository at this point in the history
RX has to be launched before TX, otherwise some frames can be dropped

Signed-off-by: Kasiewicz, Marek <[email protected]>
  • Loading branch information
Sakoram committed Jan 30, 2025
1 parent 70fd7ff commit 570a628
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/validation/tests/Engine/GstreamerApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os

from tests.Engine.execute import call, log_fail, log_info, wait
import time


def create_connection_params(
Expand Down Expand Up @@ -223,8 +224,9 @@ def execute_test(
fps: int = None,
):

tx_process = call(" ".join(tx_command), cwd=build, timeout=120)
rx_process = call(" ".join(rx_command), cwd=build, timeout=120)
rx_process = call(" ".join(rx_command), cwd=build, timeout=180)
time.sleep(1)
tx_process = call(" ".join(tx_command), cwd=build, timeout=180)

tx_output = wait(tx_process)
wait(rx_process)
Expand Down

0 comments on commit 570a628

Please sign in to comment.