You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/11/19 12:16:08 UTC

[camel] 02/02: (chores) camel-hbase: prevent integration test from blocking the exection for too long

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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit bb7ec67ccb77a7d8cea370b3792b30c89efd3b60
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Fri Nov 19 11:40:07 2021 +0100

    (chores) camel-hbase: prevent integration test from blocking the exection for too long
---
 .../src/test/java/org/apache/camel/component/hbase/HBaseProducerIT.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/HBaseProducerIT.java b/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/HBaseProducerIT.java
index b690ed6..c1f32b3 100644
--- a/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/HBaseProducerIT.java
+++ b/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/HBaseProducerIT.java
@@ -30,12 +30,14 @@ import org.apache.hadoop.hbase.client.Get;
 import org.apache.hadoop.hbase.client.Result;
 import org.apache.hadoop.hbase.client.Table;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.Timeout;
 
 import static org.junit.jupiter.api.Assertions.assertArrayEquals;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNull;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@Timeout(30)
 public class HBaseProducerIT extends CamelHBaseTestSupport {
 
     @Test