Ability to disable auto-create (#361)

* setting to disable autocreate

* improve test reliability

* update comment

* update to address feedback
This commit is contained in:
David Zhao
2022-01-21 09:57:36 -08:00
committed by GitHub
parent 7f4ead9b25
commit 126bb8867b
13 changed files with 178 additions and 22 deletions
+2 -2
View File
@@ -118,7 +118,7 @@ func PublishDocker() error {
// run unit tests, skipping integration
func Test() error {
mg.Deps(generateWire, macULimit)
cmd := exec.Command("go", "test", "-short", "./...")
cmd := exec.Command("go", "test", "-short", "./...", "-count=1")
connectStd(cmd)
return cmd.Run()
}
@@ -127,7 +127,7 @@ func Test() error {
func TestAll() error {
mg.Deps(generateWire, macULimit)
// "-v", "-race",
cmd := exec.Command("go", "test", "./...", "-count=1", "-timeout=4m")
cmd := exec.Command("go", "test", "./...", "-count=1", "-timeout=4m", "-v")
connectStd(cmd)
return cmd.Run()
}