selftest/target/Samba4.pm: increase max_wait from 60s to 120s to avoid timeout failur...
authorJoe Guo <joeg@catalyst.net.nz>
Mon, 6 May 2019 23:20:55 +0000 (11:20 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 May 2019 08:19:16 +0000 (08:19 +0000)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba4.pm

index 6f4a31d..448241a 100755 (executable)
@@ -286,7 +286,7 @@ sub wait_for_start($$)
 
        # Ensure we registered all our names
        if ($testenv_vars->{SERVER_ROLE} eq "domain controller") {
-               my $max_wait = 60;
+               my $max_wait = 120;
                print "Waiting for dns_update_cache to be created.\n";
                $count = 0;
                while (not -e "$testenv_vars->{PRIVATEDIR}/dns_update_cache") {