forked from D-Net/dnet-hadoop
clean up tests
This commit is contained in:
parent
dccaf173cf
commit
d4a30fabe3
|
@ -40,15 +40,6 @@ public class MigrateMongoMdstoresApplicationTest {
|
||||||
db.getCollection("metadataManager").insertOne(Document.parse(read("mdstore_metadataManager.json")));
|
db.getCollection("metadataManager").insertOne(Document.parse(read("mdstore_metadataManager.json")));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void test_MdstoreClient() throws IOException {
|
|
||||||
try (MdstoreClient client = new MdstoreClient(mongo.getMongoClient(), MongoExtension.UNIT_TEST_DB)) {
|
|
||||||
for (String xml : client.listRecords(COLL_NAME)) {
|
|
||||||
Assertions.assertTrue(StringUtils.isNotBlank(xml));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test_MigrateMongoMdstoresApplication(@TempDir Path tmpPath) throws Exception {
|
public void test_MigrateMongoMdstoresApplication(@TempDir Path tmpPath) throws Exception {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue