diff options
Diffstat (limited to 't/watch_filter_rubylang.t')
-rw-r--r-- | t/watch_filter_rubylang.t | 2 |
1 files changed, 2 insertions, 0 deletions
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'); |