Make tests use local functions server not one in container

This commit is contained in:
James Jeffrey
2017-07-21 16:10:56 -07:00
parent 0ac91e6e7c
commit 9654fd4179
7 changed files with 96 additions and 58 deletions

View File

@@ -0,0 +1,13 @@
package tests
import (
"os"
"testing"
)
func TestMain(m *testing.M) {
// call flag.Parse() here if TestMain uses flags
s := SetupDefaultSuite()
defer s.Cancel()
os.Exit(m.Run())
}