aboutsummaryrefslogtreecommitdiff
path: root/rpkid
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-09-30 23:57:20 +0000
committerRob Austein <sra@hactrn.net>2013-09-30 23:57:20 +0000
commita5d3a0f9a230bd8d31dec5fc44af1e62d186ccc4 (patch)
treebc4646bfa6b2517c20b1b0d4d1ab9620db3339fe /rpkid
parentbdfc20bc041a7fe41f5269510bd1a5970ae2e318 (diff)
Don't delay waiting for daemons to start up if we're just going to
wait for them to exit anyway. svn path=/trunk/; revision=5535
Diffstat (limited to 'rpkid')
-rw-r--r--rpkid/tests/yamltest.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/rpkid/tests/yamltest.py b/rpkid/tests/yamltest.py
index 2ed3b8e6..61a344da 100644
--- a/rpkid/tests/yamltest.py
+++ b/rpkid/tests/yamltest.py
@@ -725,13 +725,16 @@ try:
progs.append(d.run_pubd())
progs.append(d.run_rsyncd())
- print
- print "Giving daemons time to start up"
- time.sleep(20)
- assert all(p.poll() is None for p in progs)
+ if synchronize or not skip_config:
+
+ print
+ print "Giving daemons time to start up"
+ time.sleep(20)
+ assert all(p.poll() is None for p in progs)
if skip_config:
+ print
print "Skipping configure_*, you'll have to do that yourself if needed"
else: