From a6633c02eefedcf85639c7d756661f3e756c6634 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 18 Aug 2022 13:15:22 +0100 Subject: Performance Improvement: Insert Yang Resources Insert batches of yang resources for a schema set into one operation add batch-sized tests to ensure batch-size logic is covered for all branches fixed legacy issues in changed test classes Issue-ID: CPS-1208 Issue-ID: CPS-1126 Signed-off-by: ToineSiebelink Change-Id: I5b2a54ed0895999079975d777ba89d589ed4688b --- cps-ri/src/test/resources/data/clear-all.sql | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'cps-ri/src/test/resources/data') diff --git a/cps-ri/src/test/resources/data/clear-all.sql b/cps-ri/src/test/resources/data/clear-all.sql index 8a5e8444e..07c8a7aab 100644 --- a/cps-ri/src/test/resources/data/clear-all.sql +++ b/cps-ri/src/test/resources/data/clear-all.sql @@ -1,7 +1,7 @@ /* ============LICENSE_START======================================================= Copyright (C) 2020-2021 Pantheon.tech - Modifications Copyright (C) 2020 Nordix Foundation. + Modifications Copyright (C) 2020,2022 Nordix Foundation. Modifications Copyright (C) 2020 Bell Canada. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -23,7 +23,6 @@ DELETE FROM FRAGMENT; DELETE FROM ANCHOR; DELETE FROM DATASPACE; --- following tables are cleared by CASCADE constraint: --- SCHEMA_SET --- SCHEMA_SET_YANG_RESOURCES -DELETE FROM YANG_RESOURCE; +DELETE FROM YANG_RESOURCE +-- following tables are cleared by CASCADE constraint: SCHEMA_SET, SCHEMA_SET_YANG_RESOURCES + -- cgit 1.2.3-korg