aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests/yamltest.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-08-09 21:31:10 +0000
committerRob Austein <sra@hactrn.net>2012-08-09 21:31:10 +0000
commit07d1098ee09b2743f11f2a66294f3288a6a5f2c2 (patch)
tree2a1fddcab36202c23d2c9da9fdbd961b45c8114c /rpkid/tests/yamltest.py
parentf1ea21697f9ea7deb771df7a3710189f46b1f597 (diff)
Switch rpki.sql.session.cache to use weak references, so that Python's
garbage collector can free up cache entries we're not using for us. Rework update_roas() to be a bit more frugal with memory. See #278. svn path=/branches/tk274/; revision=4626
Diffstat (limited to 'rpkid/tests/yamltest.py')
-rw-r--r--rpkid/tests/yamltest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/tests/yamltest.py b/rpkid/tests/yamltest.py
index 2bcda77c..b67e3541 100644
--- a/rpkid/tests/yamltest.py
+++ b/rpkid/tests/yamltest.py
@@ -720,9 +720,9 @@ try:
print
signal.signal(signal.SIGCHLD, signal.SIG_DFL)
- for i in xrange(19):
+ for i in xrange(29):
for p in progs:
- if p.poll() is None and i % 5 == 0:
+ if p.poll() is None and i % 15 == 0:
print "Politely nudging pid %d" % p.pid
p.terminate()
if all(p.poll() is not None for p in progs):