aboutsummaryrefslogtreecommitdiff
path: root/rpkid/testbed.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-05-04 22:43:20 +0000
committerRob Austein <sra@hactrn.net>2009-05-04 22:43:20 +0000
commitf49a0a660655746f4001fb66277731e5f562be8e (patch)
treecbd77bb238d2cdd102144186ec833a543c94e380 /rpkid/testbed.py
parent78f347515c13b7ba575d9c46a7ccaf1ffdc9ac65 (diff)
Don't hang waiting for timeout of persistent connections when we know we're all done.
svn path=/rpkid/rpki/async.py; revision=2400
Diffstat (limited to 'rpkid/testbed.py')
-rw-r--r--rpkid/testbed.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpkid/testbed.py b/rpkid/testbed.py
index c2fa2df5..19938c79 100644
--- a/rpkid/testbed.py
+++ b/rpkid/testbed.py
@@ -285,6 +285,7 @@ class main(object):
# If we've run out of deltas to apply, we're done
if not yaml_script:
rpki.log.info("No more deltas to apply, done")
+ rpki.async.exit_event_loop()
else:
rpki.log.info("Applying deltas")
self.db.apply_delta(yaml_script.pop(0), self.apply_delta_done)