forked from TrueCloudLab/frostfs-api-go
Move to frostfs-api
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
3b67807461
commit
1351b6656d
165 changed files with 607 additions and 565 deletions
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
func TestWithNetworkURIAddress(t *testing.T) {
|
||||
hostPort := "neofs.example.com:8080"
|
||||
hostPort := "frostfs.example.com:8080"
|
||||
apiPort := "127.0.0.1:8080"
|
||||
serverName := "testServer"
|
||||
|
||||
|
@ -22,25 +22,25 @@ func TestWithNetworkURIAddress(t *testing.T) {
|
|||
{
|
||||
uri: grpcScheme + "://" + hostPort,
|
||||
tlsConfig: nil,
|
||||
wantHost: "neofs.example.com:8080",
|
||||
wantHost: "frostfs.example.com:8080",
|
||||
wantTLS: false,
|
||||
},
|
||||
{
|
||||
uri: grpcScheme + "://" + hostPort,
|
||||
tlsConfig: &tls.Config{},
|
||||
wantHost: "neofs.example.com:8080",
|
||||
wantHost: "frostfs.example.com:8080",
|
||||
wantTLS: false,
|
||||
},
|
||||
{
|
||||
uri: grpcTLSScheme + "://" + hostPort,
|
||||
tlsConfig: nil,
|
||||
wantHost: "neofs.example.com:8080",
|
||||
wantHost: "frostfs.example.com:8080",
|
||||
wantTLS: true,
|
||||
},
|
||||
{
|
||||
uri: grpcTLSScheme + "://" + hostPort,
|
||||
tlsConfig: &tls.Config{ServerName: serverName},
|
||||
wantHost: "neofs.example.com:8080",
|
||||
wantHost: "frostfs.example.com:8080",
|
||||
wantTLS: true,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue