Remove duplicate code in ledger_cleanup_compaction_test (#22204)

This commit is contained in:
Yueh-Hsuan Chiang 2021-12-31 06:19:33 -10:00 committed by GitHub
parent 94a9b712b6
commit 557d35ec79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -437,18 +437,6 @@ mod tests {
}
}
if stop_size_bytes > 0 {
if storage_previous >= stop_size_bytes {
stop_size_bytes_exceeded_iterations += 1;
} else {
stop_size_bytes_exceeded_iterations = 0;
}
if stop_size_bytes_exceeded_iterations > stop_size_iterations {
break;
}
}
if finished_batch >= num_batches {
break;
} else {