Skip to content

Commit

Permalink
revert port
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed May 18, 2023
1 parent 8b67fd8 commit bb10ee7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions meta_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

var ip = "127.0.0.1"
var metaPort = 45500
var metaPort = 9559
var graphPort = 9669
var metaAddress = HostAddress{ip, metaPort}
var client = NewMetaClient(metaAddress, 2*time.Second)
Expand Down Expand Up @@ -98,12 +98,12 @@ func TestMetaClientOpen(t *testing.T) {
}

// test wrong host
address = HostAddress{Host: "1.1.1.1", Port: 45500}
address = HostAddress{Host: "1.1.1.1", Port: 9559}
wrongMetaClient := NewMetaClient(address, 2*time.Second)
err = wrongMetaClient.Open()
defer wrongMetaClient.Close()
if err != nil {
assert.EqualError(t, err, "failed to open transport, error: dial tcp 1.1.1.1:45500: i/o timeout")
assert.EqualError(t, err, "failed to open transport, error: dial tcp 1.1.1.1:9559: i/o timeout")
}
}

Expand Down
6 changes: 3 additions & 3 deletions nebula-docker-compose/docker-compose-ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
retries: 3
start_period: 20s
ports:
- "45500:45500"
- "9559:45500"
- 11000
- 11002
volumes:
Expand Down Expand Up @@ -73,7 +73,7 @@ services:
retries: 3
start_period: 20s
ports:
- "45500:45500"
- "9559:45500"
- 11000
- 11002
volumes:
Expand Down Expand Up @@ -116,7 +116,7 @@ services:
retries: 3
start_period: 20s
ports:
- "45500:45500"
- "9559:45500"
- 11000
- 11002
volumes:
Expand Down
12 changes: 6 additions & 6 deletions nebula-docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
retries: 3
start_period: 20s
ports:
- "45500:45500"
- "9559:45500"
- 11000
- 11002
volumes:
Expand Down Expand Up @@ -73,7 +73,7 @@ services:
retries: 3
start_period: 20s
ports:
- "45500:45500"
- "9559:45500"
- 11000
- 11002
volumes:
Expand Down Expand Up @@ -116,7 +116,7 @@ services:
retries: 3
start_period: 20s
ports:
- "45500:45500"
- "9559:45500"
- 11000
- 11002
volumes:
Expand Down Expand Up @@ -163,7 +163,7 @@ services:
retries: 3
start_period: 20s
ports:
- 44500
- "44500:44500"
- 12000
- 12002
volumes:
Expand Down Expand Up @@ -210,7 +210,7 @@ services:
retries: 3
start_period: 20s
ports:
- 44500
- "44500:44500"
- 12000
- 12002
volumes:
Expand Down Expand Up @@ -257,7 +257,7 @@ services:
retries: 3
start_period: 20s
ports:
- 44500
- "44500:44500"
- 12000
- 12002
volumes:
Expand Down

0 comments on commit bb10ee7

Please sign in to comment.