test: Move limited delete/update tests into separate spec file

This potentially allows to run the remaining tests in those files in
parallel mode.

References #1799
This commit is contained in:
Wolfgang Walther
2024-05-09 18:05:44 +02:00
parent c4295b3d63
commit 577a7c7598
5 changed files with 310 additions and 300 deletions
+4
View File
@@ -47,6 +47,7 @@ import qualified Feature.Query.EmbedInnerJoinSpec
import qualified Feature.Query.ErrorSpec
import qualified Feature.Query.InsertSpec
import qualified Feature.Query.JsonOperatorSpec
import qualified Feature.Query.LimitedMutationSpec
import qualified Feature.Query.MultipleSchemaSpec
import qualified Feature.Query.NullsStripSpec
import qualified Feature.Query.PgSafeUpdateSpec
@@ -273,6 +274,9 @@ main = do
before forceRollbackApp $
describe "Feature.RollbackForcedSpec" Feature.RollbackSpec.forced
before withApp $
describe "Feature.Query.LimitedMutationSpec" Feature.Query.LimitedMutationSpec.spec
-- This test runs with a pre request to enable the pg-safeupdate library per-session.
-- This needs to run last, because once pg safe update is loaded, it can't be unloaded again.
before pgSafeUpdateApp $