Skip to content
Advertisement

Tag: quarkus

Connection Reset for Vert.x mailsender on keep alive timeout

We have an application based on Quarkus (2.4.2), and its mailsender is Vert.x Mailer. Config used: The issue we are having is that 60 seconds after a mail is sent the following is logged: Based on this stacktrace it looks like it is smtp.office365.com that do Connection reset, timeout handling in Vert.x’ SMTPConnection should close gracefully. Does anyone have any

Using QuarkusTestExtension in combination with another JUnit extension leads to exception

Is it possible to use the QuarkusTestExtension from Quarkus in combination with the SoftAssertionsExtension from AssertJ? I would like to run a Quarkus test which implicitly calls softAssertions.assertAll() after a test which uses AssertJ’s soft assertions. I’m always encountering an exception, though. Context: I’m using io.quarkus:quarkus-junit5:1.13.3.Final and org.assertj:assertj-core:3.21.0. This is the annotation which I`ve created. This is my test. Inspired

Quarkus JWT Returning Unauthorized on deployment

I have a Quarkus project that expose some REST Endpoints. When working on dev mode or running from the local build docker container all work fine, those endpoints annotated with @RolesAllowed and @PermitAll work as supposed to be. But when I deploy to a AWS service with the following steps: Commit to Gitlab Run Gitlab CICD Send result with the

@IndexedEmbedded on class containing other @IndexedEmbedded fields

I’m trying to manage hibernate search indexing on a class with a field mapped by @IndexedEmbedded on a custom @Embeddable entity. This entity also contains others @IndexedEmbedded fields in the @MappedSuperclass. These are the entities involved: And these classes: When running the application, Hibernate Search throws the following error: I’m running it with the following dependencies: Any suggestion on how

Column ‘foreign_key_id’ cannot be null

I have a rest api exposed via @RepositoryRestResource from spring-data-rest-api. When I try to give the json payload from Postman to create a User linked to an Organization, it complains that Column ‘organizationId’ cannot be null, when I clearly provided it in the json. Each user belongs to an organization, so it’s a many to one relationship. I want Java

Could not find @BeforeEach setup() method on @Nested test class in @QuarkusTest

summary On Junit Jupiter the Quarkus test extension seems to not find @BeforeEach setup methods for nested test classes and produces an error: java.lang.RuntimeException: Could not find method void com.stackoverflow.examples.nestedtestwithquarkus.NestedTestWithQuarkus.setup() on test class Is that a bug, a feature or am I missing something important? edit 1: It seems like there’s an issue with nested tests in general. Some tests

Advertisement