From 177ee181ab92f51171b3a9886f6ae152e1468d4c Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 19 Dec 2019 09:51:13 -0600 Subject: Speed up tests on policy-api Test initialization and shutown of h2 database and REST server only done once at beginning of all API unit tests. Duplicate tests removed, all test done to persistent database and other minor improvements. We need to check coverage after this review, ti may have dropped by a few percent. We should design new tests to bring the coverage back up again. Issue-ID: POLICY-2297 Change-Id: I7ccb9835e01e08c284fdc4602e3a00e946b5e902 Signed-off-by: liamfallon --- main/src/test/resources/logback-test.xml | 53 ++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 main/src/test/resources/logback-test.xml (limited to 'main/src/test/resources/logback-test.xml') diff --git a/main/src/test/resources/logback-test.xml b/main/src/test/resources/logback-test.xml new file mode 100644 index 00000000..88187371 --- /dev/null +++ b/main/src/test/resources/logback-test.xml @@ -0,0 +1,53 @@ + + + + + + policy-api + + + + + + %d %contextName [%t] %level %logger{36} - %msg%n + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg