jamesnetherton opened a new issue, #6911:
URL: https://github.com/apache/camel-quarkus/issues/6911
### Bug description
Observed after upgrading Quarkus to 3.18.0.CR1. One potential culprit is the
upgrade of the Postgres JDBC driver from 42.7.4 to 42.7.5.
There's a suspicious log message on both failures:
```
2025-01-15 15:47:10,785 WARN [io.deb.con.pos.PostgresSchema]
(debezium-postgresconnector-cq-testing-change-event-source-coordinator) Refresh
of public.company was requested but the table no longer exists
2025-01-15 15:47:10,785 WARN [io.deb.con.pos.PostgresChangeRecordEmitter]
(debezium-postgresconnector-cq-testing-change-event-source-coordinator) cannot
load schema for table 'public.company'
```
`testUpdate` fails with:
```
java.lang.AssertionError: 1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "Even Better Company"
Actual:
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
at
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
at
io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
at
io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown
Source)
at
io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
at
io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at
org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
at
io.restassured.internal.ResponseSpecificationImpl.body(ResponseSpecificationImpl.groovy:107)
at
io.restassured.internal.ValidatableResponseOptionsImpl.body(ValidatableResponseOptionsImpl.java:238)
at
org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTest.receiveResponse(AbstractDebeziumTest.java:147)
at
org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTest.testUpdate(AbstractDebeziumTest.java:111)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
```
`testDelete` fails with:
```
java.lang.AssertionError: 1 expectation failed.
Expected status code <204> but was <200>.
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
at
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
at
io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
at
io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown
Source)
at
io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
at
io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at
org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
at
io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:135)
at
io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown
Source)
at
io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:143)
at
io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
at
org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTest.receiveResponse(AbstractDebeziumTest.java:146)
at
org.apache.camel.quarkus.component.debezium.common.it.AbstractDebeziumTest.testDelete(AbstractDebeziumTest.java:131)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]