Skip to content

Commit

Permalink
chore: Fix YAKS tests for 4.4.0-SNAPSHOT
Browse files Browse the repository at this point in the history
- Update Apache Camel runtime to 4.4.0-SNAPSHOT
- Use CitrusObjectFactory instead of CitrusSpringObjectFactory as the latter one has open issues
  • Loading branch information
christophd committed Jan 31, 2024
1 parent 44af012 commit 2b73c94
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/camel-kamelets-itest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-spring</artifactId>
<artifactId>cucumber-java</artifactId>
<version>${cucumber.version}</version>
<scope>test</scope>
</dependency>
Expand Down
5 changes: 0 additions & 5 deletions tests/camel-kamelets-itest/src/test/java/KameletsYaksIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,8 @@

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import io.cucumber.spring.CucumberContextConfiguration;
import org.citrusframework.config.CitrusSpringConfig;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;

@CucumberContextConfiguration
@ContextConfiguration(classes = CitrusSpringConfig.class)
@RunWith(Cucumber.class)
@CucumberOptions(
extraGlue = "org.citrusframework.yaks",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ citrus.type.converter=camel
yaks.cluster.type=local
yaks.camelk.max.attempts=10

yaks.jbang.camel.version=4.3.0
yaks.jbang.camel.version=4.4.0-SNAPSHOT
yaks.jbang.kamelets.version=4.4.0-SNAPSHOT

yaks.jbang.kamelets.local.dir=../../../kamelets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
#

cucumber.object-factory=org.citrusframework.cucumber.backend.spring.CitrusSpringObjectFactory
cucumber.object-factory=org.citrusframework.cucumber.backend.CitrusObjectFactory
cucumber.publish.quiet=true

cucumber.filter.tags=not @ignored and not @knative

0 comments on commit 2b73c94

Please sign in to comment.