New zone database
This commit is contained in:
1 parent
9c48c83701
commit
8a509168ee
8 files changed
+791
-148
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user