The test mistakenly performs arithmetic with an array. It also unnecessarily waits for a checkpoint when it could manually call fsync.
Note that it is a test-only fix as the implementation is correct.
The test mistakenly performs arithmetic with an array. It also unnecessarily waits for a checkpoint when it could manually call fsync.
Note that it is a test-only fix as the implementation is correct.