Skip to content

Commit

Permalink
chore: update pulsar endpoint to use 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mihir20 committed Jan 3, 2025
1 parent 92117f7 commit ec1ab98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testhelper/docker/resource/pulsar/pulsar.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ func Setup(pool *dockertest.Pool, d resource.Cleaner, opts ...Option) (*Resource
}
})

url := fmt.Sprintf("pulsar://%s:%s", container.GetBoundIP("6650/tcp"), container.GetPort("6650/tcp"))
adminURL := fmt.Sprintf("http://%s:%s", container.GetBoundIP("8080/tcp"), container.GetPort("8080/tcp"))
url := fmt.Sprintf("pulsar://127.0.0.1:%s", container.GetPort("6650/tcp"))
adminURL := fmt.Sprintf("http://127.0.0.1:%s", container.GetPort("8080/tcp"))

if err := pool.Retry(func() (err error) {
var w bytes.Buffer
Expand Down

0 comments on commit ec1ab98

Please sign in to comment.