]> Sergey Matveev's repositories - public-inbox.git/commit
test_common: add create_inbox helper sub
authorEric Wong <e@80x24.org>
Mon, 15 Mar 2021 11:57:52 +0000 (12:57 +0100)
committerEric Wong <e@80x24.org>
Mon, 15 Mar 2021 20:53:59 +0000 (16:53 -0400)
commitaf9a34eba5696fc881d2d61864fa62220ccf8ba5
treea263c854edd686394bfa06eb96a5344a1cbe93a7
parentd5bc3deb285453d777f253dc36cf4b1ae694a6f8
test_common: add create_inbox helper sub

This saves over 100ms in t/lei-q-remote-import.t so far when
TMPDIR is on an SSD.  If we can memoize inbox creation to save a
few dozen milliseconds every test, this could add up to
noticeable savings across our entire test suite.
MANIFEST
Makefile.PL
lib/PublicInbox/TestCommon.pm
t/data-gen/.gitignore [new file with mode: 0644]
t/lei-q-remote-import.t