mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
e2e: add test cases for del all keys
This commit is contained in:
parent
fac20b228d
commit
75a65e1a70
@ -180,6 +180,16 @@ func delTest(cx ctlCtx) {
|
||||
|
||||
deletedNum int
|
||||
}{
|
||||
{ // delete all keys
|
||||
[]kv{{"foo1", "bar"}, {"foo2", "bar"}, {"foo3", "bar"}},
|
||||
[]string{"", "--prefix"},
|
||||
3,
|
||||
},
|
||||
{ // delete all keys
|
||||
[]kv{{"foo1", "bar"}, {"foo2", "bar"}, {"foo3", "bar"}},
|
||||
[]string{"", "--from-key"},
|
||||
3,
|
||||
},
|
||||
{
|
||||
[]kv{{"this", "value"}},
|
||||
[]string{"that"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user