summaryrefslogtreecommitdiffstats
path: root/src/test/journal/test_JournalRecorder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/journal/test_JournalRecorder.cc')
-rw-r--r--src/test/journal/test_JournalRecorder.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/journal/test_JournalRecorder.cc b/src/test/journal/test_JournalRecorder.cc
index fb7c06772ec..7197526a1ce 100644
--- a/src/test/journal/test_JournalRecorder.cc
+++ b/src/test/journal/test_JournalRecorder.cc
@@ -22,8 +22,9 @@ public:
journal::JournalRecorder *create_recorder(
const std::string &oid, const journal::JournalMetadataPtr &metadata) {
journal::JournalRecorder *recorder(new journal::JournalRecorder(
- m_ioctx, oid + ".", metadata, 0, std::numeric_limits<uint32_t>::max(),
- 0, 0));
+ m_ioctx, oid + ".", metadata, 0));
+ recorder->set_append_batch_options(0, std::numeric_limits<uint32_t>::max(),
+ 0);
m_recorders.push_back(recorder);
return recorder;
}