gnodet-bot commented on code in PR #27693:
URL: https://github.com/apache/camel/pull/27693#discussion_r4249813805
##########
components/camel-pgevent/pom.xml:
##########
@@ -54,6 +54,17 @@
<artifactId>camel-test-junit6</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <version>${mockito-version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <scope>test</scope>
+ </dependency>
Review Comment:
🐛 **Missing dependency: `awaitility`**
The new test imports `org.awaitility.Awaitility.await` (see
`PgEventConsumerReconnectTest.java`), but `awaitility` is not declared as a
test dependency in this `pom.xml`. Only `mockito-junit-jupiter` and
`assertj-core` were added.
`awaitility` is not in the parent `dependencyManagement` and is not pulled
in transitively by `camel-test-junit6`, so this will fail compilation.
Please add:
```suggestion
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>
```
--
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]