Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed May 21, 2024
1 parent 9873919 commit 1033bac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/raft/integration/test_uv_load.c
Original file line number Diff line number Diff line change
Expand Up @@ -1663,9 +1663,14 @@ TEST(load, openSegmentWithIncompleteBatchData, setUp, tearDown, 0, NULL)
UNFINALIZE(1, 1, 1);
DirTruncateFile(f->dir, "open-1", offset);

#ifdef DQLITE_NEXT
#define EXPECTED_AMT "24"
#else
#define EXPECTED_AMT "16"
#endif
LOAD_ERROR(RAFT_IOERR,
"load open segment open-1: entries batch 1 starting at byte 8: "
"read data: short read: 4 bytes instead of 8");
"read data: short read: 4 bytes instead of " EXPECTED_AMT);
return MUNIT_OK;
}

Expand Down

0 comments on commit 1033bac

Please sign in to comment.