From fcf86d3bc34d4162629772f40a48873c6c761579 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 11 Jan 2009 21:07:39 -0600 Subject: [PATCH] test pooled db connections, change bogus test --- basis/db/tester/tester.factor | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/basis/db/tester/tester.factor b/basis/db/tester/tester.factor index 4e53ad3df7..490f6bbef5 100644 --- a/basis/db/tester/tester.factor +++ b/basis/db/tester/tester.factor @@ -46,12 +46,17 @@ test-2 "TEST2" { : db-tester2 ( test-db -- ) [ - [ test-1 recreate-table ] with-db - ] [ [ - 2 [ - 10 random 100 random 100 random 100 random test-1 boa - insert-tuple yield - ] parallel-each + test-1 ensure-table + test-2 ensure-table ] with-db + ] [ + [ + 10 [ + 10 [ + f 100 random 100 random 100 random test-1 boa + insert-tuple yield + ] times + ] parallel-each + ] with-pooled-db ] bi ;