selftest: use server_maxtime = 10800 by default
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Jun 2015 06:49:39 +0000 (08:49 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 30 Jun 2015 12:23:18 +0000 (14:23 +0200)
With something like this:

samba.stdout:
[1855(18118)/1864 at 2h37m4s] samba4.krb5.kdc with account ALLOWED permission to replicate to an RODC(fl2008r2dc)
[1856(18378)/1864 at 2h37m57s] samba4.blackbox.dbcheck(ad_dc_ntvfs)
ERROR: Testsuite[samba4.blackbox.dbcheck(ad_dc_ntvfs)]
REASON: unable to set up environment ad_dc_ntvfs:local - exiting

samba.stderr:
samba: maximum runtime exceeded - terminating at 1435553350, current ts: 1435553350

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
selftest/selftest.pl

index bbd81d635bb2a9af2db36f0be2e35998851850c0..d71d1583615c92a801175615f1a675f8323939ea 100755 (executable)
@@ -415,7 +415,7 @@ my $testenv_default = "none";
 # must terminate in this time, and testenv will only stay alive this
 # long
 
-my $server_maxtime = 9000;
+my $server_maxtime = 10800;
 if (defined($ENV{SMBD_MAXTIME}) and $ENV{SMBD_MAXTIME} ne "") {
     $server_maxtime = $ENV{SMBD_MAXTIME};
 }