webrtc: fix a slightly racy test
authorMatthew Waters <matthew@centricular.com>
Wed, 6 May 2020 05:35:26 +0000 (15:35 +1000)
committerMatthew Waters <matthew@centricular.com>
Wed, 6 May 2020 05:49:58 +0000 (15:49 +1000)
commitd0b20f8bbaa9e5611258045102ae45c9d6d45d6e
treef04dba8659a8b96e2b58acbab6b15f4b44410405
parent18de5f8f04c7aa9873190ea2c44eb01209e3de6e
webrtc: fix a slightly racy test

There is no guarantee that the peer data channel has transitioned to
open when we do.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1247>
tests/check/elements/webrtcbin.c