]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v2writable.t
xt/mem-imapd-tls: update aliases to DSdeflate subs
[public-inbox.git] / t / v2writable.t
index f0fa8a79548daaca8ff120697dfd3b699204756a..477621e24d011449e611f14caf567b32cfb645ab 100644 (file)
@@ -17,6 +17,7 @@ my $ibx = {
        inboxdir => $inboxdir,
        name => 'test-v2writable',
        version => 2,
+       -no_fsync => 1,
        -primary_address => 'test@example.com',
 };
 $ibx = PublicInbox::Inbox->new($ibx);
@@ -307,7 +308,7 @@ ok($@, 'V2Writable fails on non-existent dir');
        open $fh, '<', $alt or die $!;
        my $before = do { local $/; <$fh> };
 
-       ok($v2w->git_init(3), 'init a new epoch');
+       ok($v2w->{mg}->add_epoch(3), 'init a new epoch');
        open $fh, '<', $alt or die $!;
        my $after = do { local $/; <$fh> };
        ok(index($after, $before) > 0,