ZTC-234: macOS tests

This commit is contained in:
Joel May
2022-11-11 19:43:26 +00:00
parent 2baea15387
commit 6a1dad0ce2
4 changed files with 83 additions and 11 deletions
+13
View File
@@ -0,0 +1,13 @@
//go:build linux
package ingress
import (
"testing"
"github.com/cloudflare/cloudflared/packet"
)
func getFunnel(t *testing.T, proxy *icmpProxy, tuple flow3Tuple) (packet.Funnel, bool) {
return proxy.srcFunnelTracker.Get(tuple)
}