Check with Docker whether the container is really running
This commit is contained in:
1 parent
1889a4a87f
commit
698d352322
3 files changed
+18
-3
No files matched your search
@@ -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, "/")
|
||||
|
||||
Reference in new issue
Block a user