Skip to content

Commit

Permalink
use 5433
Browse files Browse the repository at this point in the history
  • Loading branch information
nonsense committed May 8, 2023
1 parent 7dee686 commit 96b0f00
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions extern/boostd-data/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ services:
yugabyte:
image: public.ecr.aws/n6b0k8i7/yugabyte-test:x86_64-2.17.2.0
#image: public.ecr.aws/n6b0k8i7/yugabyte-test:aarch64-2.17.2.0
ports:
- 9042:9042
- 5433:5432
#- 7000:7000
- 9000:9000
restart: on-failure

go-tests:
Expand Down
2 changes: 1 addition & 1 deletion extern/boostd-data/svc/setup_yugabyte_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func SetupYugabyte(t *testing.T) {

store := yugabyte.NewStore(yugabyte.DBSettings{
Hosts: []string{"yugabyte"},
ConnectString: "postgresql://postgres:postgres@yugabyte",
ConnectString: "postgresql://postgres:postgres@yugabyte:5433",
})
err := store.Start(ctx)
require.NoError(t, err)
Expand Down
2 changes: 1 addition & 1 deletion extern/boostd-data/svc/svc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var testYugaSettings = yugabyte.DBSettings{
//Hosts: []string{"127.0.0.1"},
Hosts: []string{"yugabyte"},
//ConnectString: "postgresql://postgres:postgres@localhost",
ConnectString: "postgresql://postgres:postgres@yugabyte",
ConnectString: "postgresql://postgres:postgres@yugabyte:5433",
}

func TestService(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion piecedirectory/doctor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func TestPieceDoctor(t *testing.T) {

bdsvc := svc.NewYugabyte(yugabyte.DBSettings{
Hosts: []string{"yugabyte"},
ConnectString: "postgresql://postgres:postgres@yugabyte",
ConnectString: "postgresql://postgres:postgres@yugabyte:5433",
})

addr := "localhost:8044"
Expand Down
2 changes: 1 addition & 1 deletion piecedirectory/piecedirectory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestPieceDirectory(t *testing.T) {

bdsvc := svc.NewYugabyte(yugabyte.DBSettings{
Hosts: []string{"yugabyte"},
ConnectString: "postgresql://postgres:postgres@yugabyte",
ConnectString: "postgresql://postgres:postgres@yugabyte:5433",
})

addr := "localhost:8044"
Expand Down

0 comments on commit 96b0f00

Please sign in to comment.