summaryrefslogtreecommitdiffstats
path: root/controlloop/common/guard/src/test/resources/META-INF
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-04-27 11:23:00 -0400
committerJim Hahn <jrh3@att.com>2018-04-27 11:25:21 -0400
commit96b1516b2b1baec385811275b02d6ac141becdd9 (patch)
treee4f2ccc71a12bdb2226cf46cf0ea4f92a15a7a9b /controlloop/common/guard/src/test/resources/META-INF
parentad14e8f8d20a9e6c41dc9a7e235198e8d6578564 (diff)
Fix failure in PIPEngineGetHistoryTest
Turns out that the getAttributesTest() method depends on testGetCountFromDb() being executed first, but junit does not guarantee this. Modified the code so that it is independent of the order in which the tests are executed. Change-Id: Ie081061e4e83895f4ac89242cf00d843b6e069d4 Issue-ID: POLICY-765 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/guard/src/test/resources/META-INF')
-rw-r--r--controlloop/common/guard/src/test/resources/META-INF/persistence.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/controlloop/common/guard/src/test/resources/META-INF/persistence.xml b/controlloop/common/guard/src/test/resources/META-INF/persistence.xml
index a8596b7b1..e4f597f63 100644
--- a/controlloop/common/guard/src/test/resources/META-INF/persistence.xml
+++ b/controlloop/common/guard/src/test/resources/META-INF/persistence.xml
@@ -26,7 +26,6 @@
<persistence-unit name="TestOperationsHistoryPU"
transaction-type="RESOURCE_LOCAL">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
- <class>org.onap.policy.controlloop.eventmanager.OperationsHistoryDbEntry</class>
<properties>
<property name="eclipselink.ddl-generation" value="create-or-extend-tables" />
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />