learn-go-with-tests icon indicating copy to clipboard operation
learn-go-with-tests copied to clipboard

fix: Correct exposed port in testcontainers-go config

Open kwmlodozeniec opened this issue 6 months ago • 0 comments

As per title. The current config is not correct and results in the following error:

greeter_server_test.go:36: Did not expect an error but got:
        failed to start container: all exposed ports, [8080:8080], were not mapped in 5s: port 8080:8080 is not mapped yet

kwmlodozeniec avatar Aug 18 '24 23:08 kwmlodozeniec