]> gitweb.factorcode.org Git - factor.git/commitdiff
db.postgresql: remove long test
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 14 Jan 2023 21:33:34 +0000 (13:33 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 14 Jan 2023 21:33:34 +0000 (13:33 -0800)
basis/db/postgresql/postgresql-tests.factor

index 833a44512ae4ab02b65de7dcc00a3e9fb0f01813..a12f8468de167ff589719a68e8e33e75eabb861f 100644 (file)
@@ -1,19 +1,6 @@
 USING: accessors alien continuations db db.errors db.queries db.postgresql
 db.private db.tester db.tuples db.types io classes kernel math namespaces
 prettyprint sequences system tools.test unicode ;
-IN: db.postgresql.tests
-
-: nonexistant-db ( -- db )
-    <postgresql-db>
-        "localhost" >>host
-        "fake-user" >>username
-        "no-pass" >>password
-        "dont-exist" >>database ;
-
-! Don't leak connections
-{ } [
-    2000 [ [ nonexistant-db [ ] with-db ] ignore-errors ] times
-] unit-test
 
 ! Ensure the test database exists
 postgresql-template1-db [