storage: fix TestKeyIndexCompact

It fails to pass before.
This commit is contained in:
Yicheng Qin 2015-08-22 17:57:12 -07:00
parent 97b211c8ba
commit 3b2fa9f1de

View File

@ -291,6 +291,7 @@ func TestKeyIndexCompact(t *testing.T) {
}
}
ki = newTestKeyIndex()
// Jump Compaction
for i, tt := range tests {
if (i%2 == 0 && i < 6) || (i%2 == 1 && i > 6) {