From 9097e718533da9f38fda55efd56aa4b99e2d34fa Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Wed, 24 May 2023 16:30:53 +0200 Subject: [PATCH] Added assertion in test --- .../src/test/java/eu/dnetlib/dhp/bulktag/BulkTagJobTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/bulktag/BulkTagJobTest.java b/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/bulktag/BulkTagJobTest.java index a63e62471..299731520 100644 --- a/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/bulktag/BulkTagJobTest.java +++ b/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/bulktag/BulkTagJobTest.java @@ -1564,7 +1564,8 @@ public class BulkTagJobTest { org.apache.spark.sql.Dataset idExplodeCommunity = spark.sql(query); - idExplodeCommunity.show(false); + Assertions.assertEquals(3, idExplodeCommunity.filter("community = 'dth'").count()); + } }