about summary refs log tree commit homepage
path: root/t/v2mirror.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-05-24 08:32:16 +0000
committerEric Wong <e@80x24.org>2018-05-24 08:32:42 +0000
commitc339a14b11c57e7b330f4efef6903bcbea2b3463 (patch)
tree250bb9b45fb76fbe4057cfd4a7ba087152e14a51 /t/v2mirror.t
parent62620b9437bfd0f212ad8113d4f51aa079d0d142 (diff)
downloadpublic-inbox-c339a14b11c57e7b330f4efef6903bcbea2b3463.tar.gz
Xapian v1.2.21..v1.2.24 (inclusive) use OFD locks but failed to
set the close-on-exec flag on those locks.  So we must continue
to work around those old versions by ensuring Xapian file
descriptors aren't held any longer than necessary when in
long-running git processes.

Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 't/v2mirror.t')
-rw-r--r--t/v2mirror.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/v2mirror.t b/t/v2mirror.t
index 9e0c9e1d..4cd369bd 100644
--- a/t/v2mirror.t
+++ b/t/v2mirror.t
@@ -50,7 +50,7 @@ for my $i (1..9) {
         $mime->header_set('Subject', "subject = $i");
         ok($v2w->add($mime), "add msg $i OK");
 }
-$v2w->barrier;
+$v2w->done;
 
 my %opts = (
         LocalAddr => '127.0.0.1',