]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/imapd-validate.t
imaptracker: preserve WAL journal_mode if set by user
[public-inbox.git] / xt / imapd-validate.t
index b7b66d0583f49869ca94785e072505f02fb9050b..3e44515650dcd794fa2b698e11af11e471112fdc 100644 (file)
@@ -13,8 +13,9 @@ plan skip_all => "GIANT_INBOX_DIR not defined for $0" unless $inbox_dir;
 # how many emails to read into memory at once per-process
 my $BATCH = $ENV{TEST_BATCH} // 100;
 my $REPEAT = $ENV{TEST_REPEAT} // 1;
+diag "TEST_BATCH=$BATCH TEST_REPEAT=$REPEAT";
 
-require_mods(qw(Mail::IMAPClient));
+require_mods(qw(Mail::IMAPClient Email::Address::XS||Mail::Address));
 my $imap_client = 'Mail::IMAPClient';
 my $can_compress = $imap_client->can('compress');
 if ($can_compress) { # hope this gets fixed upstream, soon
@@ -39,7 +40,7 @@ if (($ENV{IMAP_TEST_URL} // '') =~ m!\Aimap://([^/]+)/(.+)\z!) {
 } else {
        require_mods(qw(DBD::SQLite));
        $make_local_server->();
-       $mailbox = "$newsgroup.1-50000";
+       $mailbox = "$newsgroup.0";
 }
 
 my %opts = (imap => \%OPT, 'imap+compress' => { %OPT, Compress => 1 });