X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fwatch_filter_rubylang.t;h=5deb20820b239dce05ff1f62790cfe59f9160a93;hb=1b19e689f0b76290a437dd614da8685574e72b73;hp=29a9f793858c564d75f7f8b058b71b2f278e5777;hpb=28840e0ea63f8d649614e196ce286688be431dfb;p=public-inbox.git diff --git a/t/watch_filter_rubylang.t b/t/watch_filter_rubylang.t index 29a9f793..5deb2082 100644 --- a/t/watch_filter_rubylang.t +++ b/t/watch_filter_rubylang.t @@ -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');