Skip to content

Commit

Permalink
Disable flaky kafka tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarrez committed Jul 17, 2024
1 parent 5df6de4 commit 698b890
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ protected Map<String, String> getColumnMetaData(String tableName) {

// The JDBC metadata API doesn't return the same names as used in the mybatis mapping files
if (columnType.equalsIgnoreCase("BINARY LARGE OBJECT")
|| columnType.equalsIgnoreCase("BLOB") // oracle
|| columnType.equalsIgnoreCase("varbinary")
|| columnType.equalsIgnoreCase("BINARY VARYING")
|| columnType.equalsIgnoreCase("LONGBLOB") // mariadb
Expand All @@ -202,6 +203,7 @@ protected Map<String, String> getColumnMetaData(String tableName) {

} else if (columnType.equalsIgnoreCase("CHARACTER VARYING")
|| columnType.equalsIgnoreCase("CHARACTER LARGE OBJECT")
|| columnType.equalsIgnoreCase("CLOB") // SQL server
|| columnType.equalsIgnoreCase("VARCHAR2") // oracle
|| columnType.equalsIgnoreCase("LONGTEXT") // mariadb
|| columnType.equalsIgnoreCase("text")) { // postgres
Expand All @@ -222,10 +224,11 @@ protected Map<String, String> getColumnMetaData(String tableName) {
columnType = EntityParameterTypesOverview.PARAMETER_TYPE_INTEGER;

} else if (columnType.equalsIgnoreCase("int8") // postgres
|| columnType.equalsIgnoreCase("serial")) { // postgres
|| columnType.equalsIgnoreCase("serial")) { // postgres
columnType = EntityParameterTypesOverview.PARAMETER_TYPE_BIGINT;

} else if (columnType.equalsIgnoreCase("bit")
|| columnType.equalsIgnoreCase("NUMBER") // oracle
|| columnType.equalsIgnoreCase("bool")) { // postgres
columnType = EntityParameterTypesOverview.PARAMETER_TYPE_BOOLEAN;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
import org.flowable.eventregistry.spring.test.TestEventConsumer;
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.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.core.ConsumerFactory;
Expand All @@ -79,6 +80,7 @@
"application.test.kafka-partition1=0-2",
"application.test.kafka-partition2=3-4",
})
@Disabled
class KafkaChannelDefinitionProcessorTest {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import org.flowable.eventregistry.api.runtime.EventInstance;
import org.flowable.eventregistry.api.runtime.EventPayloadInstance;
import org.flowable.eventregistry.spring.test.TestEventConsumer;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.DisposableBean;
Expand All @@ -61,6 +62,7 @@
@Tag("docker")
@Tag("kafka")
@Testcontainers(disabledWithoutDocker = true)
@Disabled
public class KafkaChannelRebootEngineTest {

@Test
Expand Down

0 comments on commit 698b890

Please sign in to comment.