Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Abdulsametileri/71282f11f8667805cbca14fe50e41228 to your computer and use it in GitHub Desktop.
Save Abdulsametileri/71282f11f8667805cbca14fe50e41228 to your computer and use it in GitHub Desktop.
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