disable config watching during cli tests (#8040)
Этот коммит содержится в:
@@ -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()])
|
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, ".")))
|
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 {
|
func checkCommand(t *testing.T, args ...string) string {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user