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 316ef83..c52c99b 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;