Mercurial > hg > thermostat-ng > web-gateway
changeset 178:ce4241a084e1
Removal of duplicated mongo database drop collection calls
Reviewed-by: jkang
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-June/023680.html
author | Christopher Koehler <chkoehle@redhat.com> |
---|---|
date | Wed, 14 Jun 2017 09:07:23 -0400 |
parents | 24135452bb7d |
children | 30a7fa71b76a |
files | tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/service/system/cpu/SystemCPUIntegrationTest.java tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/service/systems/SystemInfoIntegrationTest.java |
diffstat | 2 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/service/system/cpu/SystemCPUIntegrationTest.java Fri Jun 02 23:38:52 2017 -0400 +++ b/tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/service/system/cpu/SystemCPUIntegrationTest.java Wed Jun 14 09:07:23 2017 -0400 @@ -95,11 +95,6 @@ super(serviceURL, collectionName); } - @Before - public void beforeIntegrationTest() { - mongodTestUtil.dropCollection(collectionName); - } - @Test public void testGetAll() throws InterruptedException, TimeoutException, ExecutionException { final String systemid = getRandomSystemId();
--- a/tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/service/systems/SystemInfoIntegrationTest.java Fri Jun 02 23:38:52 2017 -0400 +++ b/tests/integration-tests/src/test/java/com/redhat/thermostat/gateway/service/systems/SystemInfoIntegrationTest.java Wed Jun 14 09:07:23 2017 -0400 @@ -96,11 +96,6 @@ super("systems/" + versionNumber, serviceName); } - @Before - public void beforeIntegrationTest() { - mongodTestUtil.dropCollection(collectionName); - } - @Test public void testGetAll() throws InterruptedException, TimeoutException, ExecutionException { final String systemid1 = getRandomSystemId();