selftest: Give smbd a little more time to start merge-test-2
authorAndrew Bartlett <abartlet@samba.org>
Wed, 27 Apr 2011 04:57:28 +0000 (14:57 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Apr 2011 04:57:28 +0000 (14:57 +1000)
This may help in the combined build/test.

Andrew Bartlett

selftest/target/Samba3.pm

index 8146ccc138abfc082b7fcd9726ef0172c7453056..e0a9c13fec1bf2e500ad2250ae341eaa58fa5fef 100644 (file)
@@ -953,9 +953,9 @@ sub wait_for_start($$)
                sleep(2);
            }
            $count++
-       } while ($ret != 0 && $count < 10);
-       if ($count == 10) {
-           print "SMBD failed to start up in a reasonable time (20sec)\n";
+       } while ($ret != 0 && $count < 15);
+       if ($count == 15) {
+           print "SMBD failed to start up in a reasonable time (30sec)\n";
            teardown_env($self, $envvars);
            return 0;
        }