Skip to content

Commit

Permalink
issues#3320 Flaky timeout tests (#3321)
Browse files Browse the repository at this point in the history
- Disabled until they get fixed/stable
  • Loading branch information
tkobayas authored Dec 11, 2023
1 parent d97331f commit 63e928a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
package org.kie.kogito.quarkus.workflows;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.kie.kogito.testcontainers.quarkus.KafkaQuarkusTestResource;

Expand Down Expand Up @@ -49,6 +50,7 @@ void callbackStateTimeoutsSuccessful() throws Exception {
CALLBACK_STATE_TIMEOUTS_TOPIC);
}

@Disabled("https://github.com/apache/incubator-kie-kogito-runtimes/issues/3320")
@Test
void callbackStateTimeoutsExceeded() {
// start a new process instance by sending a query and collect the process instance id.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.kie.kogito.event.Converter;
import org.kie.kogito.event.cloudevents.CloudEventExtensionConstants;
Expand Down Expand Up @@ -63,6 +64,7 @@ void callbackStateTimeoutsSuccessful() throws Exception {
waitForFinalizedEvent(processInstanceId, "success");
}

@Disabled("https://github.com/apache/incubator-kie-kogito-runtimes/issues/3320")
@Test
void callbackStateTimeoutsExceeded() throws Exception {
String processInput = buildProcessInput(SUCCESSFUL_QUERY);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.apache.kafka.common.serialization.ByteArraySerializer;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.kie.kogito.event.Converter;
import org.kie.kogito.event.cloudevents.CloudEventExtensionConstants;
Expand Down Expand Up @@ -75,6 +76,7 @@ void cleanUp() {
}
}

@Disabled("https://github.com/apache/incubator-kie-kogito-runtimes/issues/3320")
@Test
void testTimedout() throws InterruptedException {
String id = startProcess("eventTimedout");
Expand Down

0 comments on commit 63e928a

Please sign in to comment.