chore: add tailnet integration test CI job (#13181)

This commit is contained in:
Dean Sheather
2024-05-06 23:21:17 -07:00
committed by GitHub
parent 72f2efe048
commit 677be9aab2
2 changed files with 41 additions and 0 deletions
+12
View File
@@ -827,6 +827,18 @@ test-race:
gotestsum --junitfile="gotests.xml" -- -race -count=1 ./...
.PHONY: test-race
test-tailnet-integration:
env \
CODER_TAILNET_TESTS=true \
CODER_MAGICSOCK_DEBUG_LOGGING=true \
TS_DEBUG_NETCHECK=true \
GOTRACEBACK=single \
go test \
-exec "sudo -E" \
-timeout=5m \
-count=1 \
./tailnet/test/integration
# Note: we used to add this to the test target, but it's not necessary and we can
# achieve the desired result by specifying -count=1 in the go test invocation
# instead. Keeping it here for convenience.