Created
November 16, 2022 21:36
-
-
Save Abdulsametileri/71282f11f8667805cbca14fe50e41228 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (l *DockerTestWrapper) CleanUp() { | |
if err := l.pool.Purge(l.container); err != nil { | |
log.Printf("Could not purge container: %s\n", err) | |
} | |
} | |
func (l *DockerTestWrapper) GetBrokerAddresses() []string { | |
return []string{fmt.Sprintf("localhost:%d", l.hostPort)} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment