]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/watch_filter_rubylang.t
t/*: disable fsync on tests were create_inbox isn't worth it
[public-inbox.git] / t / watch_filter_rubylang.t
index 29a9f793858c564d75f7f8b058b71b2f278e5777..5deb20820b239dce05ff1f62790cfe59f9160a93 100644 (file)
@@ -74,6 +74,7 @@ publicinboxwatch.watchspam=maildir:$spamdir
 EOF
        my $cfg = PublicInbox::Config->new(\$orig);
        my $ibx = $cfg->lookup_name($v);
+       $ibx->{-no_fsync} = 1;
        ok($ibx, 'found inbox by name');
 
        my $w = PublicInbox::Watch->new($cfg);
@@ -103,6 +104,7 @@ EOF
 
        $cfg = PublicInbox::Config->new(\$orig);
        $ibx = $cfg->lookup_name($v);
+       $ibx->{-no_fsync} = 1;
        is($ibx->search->reopen->mset('b:spam')->size, 0, 'spam removed');
 
        is_deeply([], \@warn, 'no warnings');