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:35:58 UTC

[incubator-plc4x] 08/09: [plc4j-scraper] Working state.

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

commit ad3a13605c962ad9eb1e547c7392e156997eb211
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Sat Nov 24 19:35:45 2018 +0100

    [plc4j-scraper] Working state.
---
 .../src/test/java/org/apache/plc4x/java/scraper/ScraperTest.java       | 3 ++-
 1 file changed, 2 insertions(+), 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 bb33c1a..a3107ea 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
@@ -60,6 +60,7 @@ class ScraperTest {
     void real_stuff() throws InterruptedException {
         PlcDriverManager driverManager = new PooledPlcDriverManager(pooledPlcConnectionFactory -> {
             GenericKeyedObjectPoolConfig<PlcConnection> config = new GenericKeyedObjectPoolConfig<>();
+            config.setJmxEnabled(true);
             config.setMaxWaitMillis(-1);
             config.setMaxTotal(3);
             config.setMinIdlePerKey(0);
@@ -82,7 +83,7 @@ class ScraperTest {
             )
         ));
 
-        Thread.sleep(300_000);
+        Thread.sleep(30_000_000);
     }
 
     @Test