Skip to content

Commit

Permalink
Disables failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarlett authored and cunningt committed Sep 18, 2024
1 parent 85097ea commit abf0d00
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.apache.camel.test.spring.junit5.CamelSpringBootTest;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.springframework.boot.test.context.SpringBootTest;
Expand All @@ -56,10 +57,15 @@

@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
@CamelSpringBootTest
@SpringBootTest(classes = { CamelAutoConfiguration.class, Ddb2StreamTest.class,
Ddb2StreamTest.TestConfiguration.class })
@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Disabled on GH Action due to Docker limit")
class Ddb2StreamTest extends BaseDdb2 {
@SpringBootTest(
classes = {
CamelAutoConfiguration.class,
Ddb2StreamTest.class,
Ddb2StreamTest.TestConfiguration.class
}
)
@Disabled
class Ddb2StreamTest extends BaseDdb2{

private final static String tableName = "TestTable";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.apache.camel.test.spring.junit5.CamelSpringBootTest;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.springframework.boot.test.context.SpringBootTest;
Expand All @@ -39,9 +40,14 @@
//Based on CwComponentIT
@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
@CamelSpringBootTest
@SpringBootTest(classes = { CamelAutoConfiguration.class, KinesisComponentTest.class,
KinesisComponentTest.TestConfiguration.class })
@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", disabledReason = "Disabled on GH Action due to Docker limit")
@SpringBootTest(
classes = {
CamelAutoConfiguration.class,
KinesisComponentTest.class,
KinesisComponentTest.TestConfiguration.class
}
)
@Disabled("API rate limit exceeded")
public class KinesisComponentTest extends BaseKinesis {

@EndpointInject("mock:result")
Expand Down

0 comments on commit abf0d00

Please sign in to comment.