about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-07 03:41:50 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-04-07 03:42:27 +0000
commitdd80811bdaddc40520cb37abda23624674022e37 (patch)
treea724846f2373fc0e9ad78049ba2d32d9ab8cf8f3 /t
parent06cd576bb9b73eb177728fead06de8c3fac8d7a3 (diff)
downloadpublic-inbox-dd80811bdaddc40520cb37abda23624674022e37.tar.gz
Since we handle the overview info synchronously, we only need
barriers in tests, now.  We will use asynchronous checkpoints
to sync less-important Xapian data.

For data deduplication, this requires us to hoist out the
cat-blob support in ::Import for reading uncommitted data
in git.
Diffstat (limited to 't')
-rw-r--r--t/v2writable.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/v2writable.t b/t/v2writable.t
index 4a42c016..b543c53f 100644
--- a/t/v2writable.t
+++ b/t/v2writable.t
@@ -213,8 +213,8 @@ EOF
         $im = PublicInbox::V2Writable->new($ibx, 1);
         is($im->{partitions}, 1, 'detected single partition from previous');
         my $smsg = $im->remove($mime, 'test removal');
-        my @after = $git0->qx(qw(log --pretty=oneline));
         $im->done;
+        my @after = $git0->qx(qw(log --pretty=oneline));
         my $tip = shift @after;
         like($tip, qr/\A[a-f0-9]+ test removal\n\z/s,
                 'commit message propagated to git');