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 2023/06/23 15:11:41 UTC
[camel] 02/02: (chores) camel-grpc: disable flaky test on GH actions
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 a63c4573234d4948d19284f7aab47ca3829230e9
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jun 23 16:54:23 2023 +0200
(chores) camel-grpc: disable flaky test on GH actions
---
.../java/org/apache/camel/component/grpc/GrpcProducerStreamingTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcProducerStreamingTest.java b/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcProducerStreamingTest.java
index e7e6cd22162..6c5f9b034d8 100644
--- a/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcProducerStreamingTest.java
+++ b/components/camel-grpc/src/test/java/org/apache/camel/component/grpc/GrpcProducerStreamingTest.java
@@ -30,12 +30,14 @@ import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static org.apache.camel.test.junit5.TestSupport.assertListSize;
import static org.junit.jupiter.api.Assertions.assertNotNull;
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Flaky on GitHub Actions")
public class GrpcProducerStreamingTest extends CamelTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(GrpcProducerStreamingTest.class);