Skip to content

Commit 5bbe494

Browse files
authored
NO-JIRA: restrict etcdctl defrag to single member (#1394)
* NO-JIRA: restrict etcdctl defrag flaky test to localhost * Update etcdctl_test.go
1 parent 4c27d6f commit 5bbe494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/etcdctl_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestEtcdctlCommands(t *testing.T) {
3232
{"etcdctl alarm list", false, "", ""},
3333
{"etcdctl check perf", true, "OpenShift disabled command", ""},
3434
{"etcdctl compaction 0", false, "", "Error: etcdserver: mvcc: required revision has been compacted"},
35-
{"etcdctl defrag", false, "", ""},
35+
{"env ETCDCTL_ENDPOINTS=https://localhost:2379 etcdctl defrag", false, "", ""},
3636
{"etcdctl elect myelection", false, "", "no proposal argument but -l not set"},
3737
// endpoint
3838
{"etcdctl endpoint hashkv", false, "", ""},

0 commit comments

Comments
 (0)