1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-05 00:50:24 +08:00

TUN-4819: Tolerate protocol TXT record lookup failing

This commit is contained in:
Nuno Diegues
2021-07-28 23:31:22 +01:00
parent aa24338225
commit fa8aa02270
2 changed files with 6 additions and 2 deletions

View File

@@ -158,7 +158,8 @@ func TestNewProtocolSelector(t *testing.T) {
protocol: "unknown",
fetchFunc: mockFetcherWithError(),
namedTunnelConfig: testNamedTunnelConfig,
wantErr: true,
expectedProtocol: HTTP2,
wantErr: false,
},
}