Skip to content

Commit

Permalink
[chore] Use port constant in memcached test (#22803)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski authored May 26, 2023
1 parent 9b46694 commit 16340a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions receiver/memcachedreceiver/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func TestIntegration(t *testing.T) {
scraperinttest.WithContainerRequest(
testcontainers.ContainerRequest{
Image: "docker.io/library/memcached:1.6-alpine",
ExposedPorts: []string{"11211"},
WaitingFor: wait.ForListeningPort("11211"),
ExposedPorts: []string{memcachedPort},
WaitingFor: wait.ForListeningPort(memcachedPort),
}),
scraperinttest.WithCustomConfig(
func(t *testing.T, cfg component.Config, ci *scraperinttest.ContainerInfo) {
Expand Down

0 comments on commit 16340a3

Please sign in to comment.