New zone database

This commit is contained in:
Alvaro Saurin committed 2015-05-26 10:53:12 +02:00
1 parent 9c48c83701
commit 8a509168ee
8 files changed
+791 -148

No files matched your search

+5 -1
View File
@@ -27,7 +27,11 @@ func TestHttp(t *testing.T) {
dockerIP = "9.8.7.6"
)
zone := NewZoneDb(DefaultLocalDomain)
zone, err := NewZoneDb(ZoneConfig{})
wt.AssertNoErr(t, err)
err = zone.Start()
wt.AssertNoErr(t, err)
defer zone.Stop()
port := rand.Intn(10000) + 32768
fmt.Println("Http test on port", port)