From 66bdf830b5c7bc2e2fe7598355a142720010de91 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 5 Jan 2018 13:33:07 -0600 Subject: disable config watching during cli tests (#8040) --- cmd/platform/platform_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/platform') diff --git a/cmd/platform/platform_test.go b/cmd/platform/platform_test.go index 9ee68a7aa..792cabe38 100644 --- a/cmd/platform/platform_test.go +++ b/cmd/platform/platform_test.go @@ -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 { -- cgit v1.2.3-1-g7c22