Check with Docker whether the container is really running

This commit is contained in:
Alvaro Saurin committed 2015-06-10 22:27:49 +02:00
1 parent 1889a4a87f
commit 698d352322
3 files changed
+18 -3

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ func TestHttp(t *testing.T) {
srv, _ := NewDNSServer(DNSServerConfig{Zone: zone})
port := httpListener.Addr().(*net.TCPAddr).Port
go ServeHTTP(httpListener, "", srv)
go ServeHTTP(httpListener, "", srv, nil)
// Ask the http server to add our test address into the database
addrParts := strings.Split(testAddr1, "/")