mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
storage: fix TestKeyIndexCompact
It fails to pass before.
This commit is contained in:
parent
97b211c8ba
commit
3b2fa9f1de
@ -291,6 +291,7 @@ func TestKeyIndexCompact(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ki = newTestKeyIndex()
|
||||||
// Jump Compaction
|
// Jump Compaction
|
||||||
for i, tt := range tests {
|
for i, tt := range tests {
|
||||||
if (i%2 == 0 && i < 6) || (i%2 == 1 && i > 6) {
|
if (i%2 == 0 && i < 6) || (i%2 == 1 && i > 6) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user