Skip to content

Commit 8701002

Browse files
committed
grpc: change port numbers used in test and hope for the best
1 parent c658672 commit 8701002

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

grpc/server/server_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,8 @@ func TestRESTInterface(t *testing.T) {
632632

633633
// The ports are hardcoded because the Server() function blackboxes our
634634
// access to the listeners, so we can't get their address dynamically.
635-
testApp.Config.PublicPort = 8080
636-
testApp.Config.ServerPort = 9090
635+
testApp.Config.PublicPort = 8181
636+
testApp.Config.ServerPort = 9191
637637

638638
// run against a real database if the test isn't run with -test.short flag
639639
if !testing.Short() {
@@ -1500,8 +1500,8 @@ func TestGRPCInterface(t *testing.T) {
15001500

15011501
// The ports are hardcoded because the Server() function blackboxes our
15021502
// access to the listeners, so we can't get their address dynamically.
1503-
testApp.Config.PublicPort = 8080
1504-
testApp.Config.ServerPort = 9090
1503+
testApp.Config.PublicPort = 8282
1504+
testApp.Config.ServerPort = 9292
15051505

15061506
// run against a real database if the test isn't run with -test.short flag
15071507
if !testing.Short() {

0 commit comments

Comments
 (0)