MCPcopy
hub / github.com/grpc/grpc-go / TestLocalCredsLocalhost

Method TestLocalCredsLocalhost

test/local_creds_test.go:112–116  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

110}
111
112func (s) TestLocalCredsLocalhost(t *testing.T) {
113 if err := testLocalCredsE2ESucceed(t, "tcp", "localhost:0"); err != nil {
114 t.Fatalf("Failed e2e test for localhost: %v", err)
115 }
116}
117
118func (s) TestLocalCredsUDS(t *testing.T) {
119 addr := fmt.Sprintf("/tmp/grpc_fullstck_test%d", time.Now().UnixNano())

Callers

nothing calls this directly

Calls 2

testLocalCredsE2ESucceedFunction · 0.85
FatalfMethod · 0.65

Tested by

no test coverage detected