1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
load("//build:build.bzl", "go_custom_test")
go_custom_test(
name = "test_test",
srcs = [
"reverse_tunnel_agent_plumbing_for_test.go",
"reverse_tunnel_server_plumbing_for_test.go",
"reverse_tunnel_test.go",
],
deps = [
"//internal/api",
"//internal/module/modagent",
"//internal/module/modserver",
"//internal/module/modshared",
"//internal/module/reverse_tunnel",
"//internal/module/reverse_tunnel/agent",
"//internal/module/reverse_tunnel/server",
"//internal/tool/grpctool",
"//internal/tool/grpctool/test",
"//internal/tool/logz",
"//internal/tool/prototool",
"//internal/tool/retry",
"//internal/tool/testing/mock_modagent",
"//internal/tool/testing/mock_modserver",
"//internal/tool/testing/mock_reverse_tunnel_tracker",
"//internal/tool/testing/mock_tool",
"//internal/tool/testing/testhelpers",
"//pkg/kascfg",
"@com_github_ash2k_stager//:stager",
"@com_github_golang_mock//gomock",
"@com_github_google_go_cmp//cmp",
"@com_github_grpc_ecosystem_go_grpc_middleware_v2//interceptors/validator",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@org_golang_google_genproto_googleapis_rpc//status",
"@org_golang_google_grpc//:grpc",
"@org_golang_google_grpc//codes",
"@org_golang_google_grpc//credentials/insecure",
"@org_golang_google_grpc//metadata",
"@org_golang_google_grpc//status",
"@org_golang_google_protobuf//reflect/protoreflect",
"@org_golang_google_protobuf//testing/protocmp",
"@org_golang_google_protobuf//types/known/durationpb",
"@org_golang_x_sync//errgroup",
"@org_uber_go_zap//:zap",
"@org_uber_go_zap//zaptest",
],
)
|