diff schema/run_tests.sh @ 4126:52f7264265bb

Bulk-delete tracked entries per table Especially when many entries in one table are tracked by one import, this makes declining an import a lot faster.
author Tom Gottfried <tom@intevation.de>
date Thu, 01 Aug 2019 17:02:09 +0200
parents b785b6bef578
children 5e38667f740c 9fef9930aa8a
line wrap: on
line diff
--- a/schema/run_tests.sh	Thu Aug 01 16:46:13 2019 +0200
+++ b/schema/run_tests.sh	Thu Aug 01 17:02:09 2019 +0200
@@ -80,7 +80,7 @@
     -c 'SET client_min_messages TO WARNING' \
     -c "DROP ROLE IF EXISTS $TEST_ROLES" \
     -f "$BASEDIR"/tap_tests_data.sql \
-    -c "SELECT plan(70 + (
+    -c "SELECT plan(73 + (
             SELECT count(*)::int
                 FROM information_schema.tables
                 WHERE table_schema = 'waterway'))" \
@@ -88,4 +88,5 @@
     -f "$BASEDIR"/isrs_tests.sql \
     -f "$BASEDIR"/auth_tests.sql \
     -f "$BASEDIR"/manage_users_tests.sql \
+    -f "$BASEDIR"/import_tests.sql \
     -c 'SELECT * FROM finish()'