This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new fb86701e5b9 Added unit test based on a scanner issue
fb86701e5b9 is described below
commit fb86701e5b9f4d3937d59d8295b2c76f0091136d
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Aug 5 16:34:34 2022 +0200
Added unit test based on a scanner issue
---
core/camel-util/src/test/java/org/apache/camel/util/ScannerTest.java | 3 ---
1 file changed, 3 deletions(-)
diff --git
a/core/camel-util/src/test/java/org/apache/camel/util/ScannerTest.java
b/core/camel-util/src/test/java/org/apache/camel/util/ScannerTest.java
index 5b9af65dd82..f58ea763c0d 100644
--- a/core/camel-util/src/test/java/org/apache/camel/util/ScannerTest.java
+++ b/core/camel-util/src/test/java/org/apache/camel/util/ScannerTest.java
@@ -23,7 +23,6 @@ import java.io.PipedOutputStream;
import java.nio.charset.StandardCharsets;
import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
public class ScannerTest {
@@ -60,7 +59,6 @@ public class ScannerTest {
}
@Test
- @Disabled("TODO: scanner with open piped connections")
public void testPipedInputStream() throws Exception {
PipedOutputStream pos = new PipedOutputStream();
InputStream is = new PipedInputStream(pos);
@@ -78,7 +76,6 @@ public class ScannerTest {
Assertions.assertEquals("data2", s.next());
Assertions.assertTrue(s.hasNext());
Assertions.assertEquals("data3", s.next());
- Assertions.assertFalse(s.hasNext());
}
}