selftest: Correctly print message when nbt is not up in 20 seconds
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Jun 2017 04:19:17 +0000 (16:19 +1200)
committerStefan Metzmacher <metze@samba.org>
Fri, 16 Jun 2017 17:34:17 +0000 (19:34 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12843

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/target/Samba4.pm

index 316ef8346d9c3d78b782f8e0853b04cdb71c07e0..c52c99b1759ab57485a4761a7b7370cdafae7c72 100755 (executable)
@@ -207,7 +207,7 @@ sub wait_for_start($$)
                }
                $count++;
        } while ($ret != 0 && $count < 20);
-       if ($count == 10) {
+       if ($count == 20) {
                warn("nbt not reachable after 20 retries\n");
                teardown_env($self, $testenv_vars);
                return 0;