Skip to content

Commit

Permalink
Fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyshox committed Jun 10, 2024
1 parent 1b2bd20 commit 64f4803
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions system/webrtc/tests/test_stream_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from aiortc.mediastreams import VIDEO_CLOCK_RATE, VIDEO_TIME_BASE
import capnp
import pyaudio
import pytest
from cereal import messaging, log

from openpilot.system.webrtc.webrtcd import CerealOutgoingMessageProxy, CerealIncomingMessageProxy
Expand Down Expand Up @@ -68,13 +67,11 @@ def test_incoming_proxy(self, mocker):

mocked_pubmaster.reset_mock()

# FIXME, hangs for some reason
@pytest.mark.skip("Hangs forever")
def test_livestream_track(self, mocker):
fake_msg = messaging.new_message("livestreamDriverEncodeData")

config = {"receive.return_value": fake_msg.to_bytes()}
mocker.patch("cereal.messaging.SubSocket", spec=True, **config)
mocker.patch("msgq.messaging.SubSocket", spec=True, **config)
track = LiveStreamVideoStreamTrack("driver")

assert track.id.startswith("driver")
Expand Down

0 comments on commit 64f4803

Please sign in to comment.