mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
I finally figured out why the smoke test script was being funny. It turns out that the TURN client I still had lying around in the `gateway` binary was reading from the UDP socket in the background and thus sometimes grabbed the relayed data and wanted to interpret it as a STUN packet. However, for this test, the `gateway` doesn't actually need a TURN client at all. It communicates with the relay as if it were the `client` itself. By modifying the script to only work on localhost, we can avoid use of a TURN client altogether in the relay and make this script deterministic which is a big win for our CI confidence!