about summary refs log tree commit homepage
path: root/t/purge.t
diff options
context:
space:
mode:
Diffstat (limited to 't/purge.t')
-rw-r--r--t/purge.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/purge.t b/t/purge.t
index dcc44039..a33cd329 100644
--- a/t/purge.t
+++ b/t/purge.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use warnings;
@@ -16,6 +16,7 @@ my $ibx = PublicInbox::Inbox->new({
         inboxdir => $inboxdir,
         name => 'test-v2purge',
         version => 2,
+        -no_fsync => 1,
         -primary_address => 'test@example.com',
         indexlevel => 'basic',
 });
@@ -36,7 +37,7 @@ local $ENV{PI_CONFIG} = $cfgfile;
 open my $cfg_fh, '>', $cfgfile or die "open: $!";
 
 my $v2w = PublicInbox::V2Writable->new($ibx, {nproc => 1});
-my $mime = PublicInbox::MIME->new($raw);
+my $mime = PublicInbox::Eml->new($raw);
 ok($v2w->add($mime), 'add message to be purged');
 $v2w->done;