disable config watching during cli tests (#8040)

This commit is contained in:
Chris
2018-01-05 13:33:07 -06:00
committed by GitHub
parent edc4c35f5f
commit 66bdf830b5

View File

@@ -27,7 +27,7 @@ func execArgs(t *testing.T, args []string) []string {
baseParts[0] = fmt.Sprintf("%v-%v-%v", baseParts[0], t.Name(), coverprofileCounters[t.Name()])
ret = append(ret, "-test.coverprofile", filepath.Join(dir, strings.Join(baseParts, ".")))
}
return append(append(ret, "--"), args...)
return append(append(ret, "--", "--disableconfigwatch"), args...)
}
func checkCommand(t *testing.T, args ...string) string {