add the missing transport_test.go
This commit is contained in:
@ -217,12 +217,11 @@ func setUp(t *testing.T, useTLS bool, port int, maxStreams uint32, ht hType) (*s
|
||||
t.Fatalf("Failed to create credentials %v", err)
|
||||
}
|
||||
dopts := ConnectOptions{
|
||||
Network: "tcp",
|
||||
AuthOptions: []credentials.Credentials{creds},
|
||||
}
|
||||
ct, connErr = NewClientTransport(addr, &dopts)
|
||||
} else {
|
||||
ct, connErr = NewClientTransport(addr, &ConnectOptions{Network: "tcp"})
|
||||
ct, connErr = NewClientTransport(addr, &ConnectOptions{})
|
||||
}
|
||||
if connErr != nil {
|
||||
t.Fatalf("failed to create transport: %v", connErr)
|
||||
|
Reference in New Issue
Block a user