You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2018/11/24 20:54:49 UTC

[incubator-plc4x] branch feature/plc4j-scraper updated: [plc4j-scraper] Test fix.

This is an automated email from the ASF dual-hosted git repository.

jfeinauer pushed a commit to branch feature/plc4j-scraper
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/feature/plc4j-scraper by this push:
     new d4143ea  [plc4j-scraper] Test fix.
d4143ea is described below

commit d4143ea6e73b0f78132ce3a5a81c210a994e21fb
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Sat Nov 24 21:43:52 2018 +0100

    [plc4j-scraper] Test fix.
---
 .../src/test/java/org/apache/plc4x/java/scraper/ScraperTest.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/utils/scraper/src/test/java/org/apache/plc4x/java/scraper/ScraperTest.java b/plc4j/utils/scraper/src/test/java/org/apache/plc4x/java/scraper/ScraperTest.java
index 168825b..3dc0a50 100644
--- a/plc4j/utils/scraper/src/test/java/org/apache/plc4x/java/scraper/ScraperTest.java
+++ b/plc4j/utils/scraper/src/test/java/org/apache/plc4x/java/scraper/ScraperTest.java
@@ -110,7 +110,7 @@ class ScraperTest implements WithAssertions {
         // Assert that tasks got done.
         assertThat(scraper.getScheduler()).isInstanceOf(ScheduledThreadPoolExecutor.class);
         assertThat(scraper.getNumberOfActiveTasks())
-            .isEqualTo(2);
+            .isEqualTo(1);
         assertThat(((ScheduledThreadPoolExecutor) scraper.getScheduler()).getCompletedTaskCount())
             .isGreaterThan(10);
     }