Skip to content

[Windows] Stabilizing flaky Quarkus unit tests - #35638

Merged
Pepo48 merged 2 commits into
keycloak:mainfrom
Pepo48:issue-35405
Dec 6, 2024
Merged

[Windows] Stabilizing flaky Quarkus unit tests#35638
Pepo48 merged 2 commits into
keycloak:mainfrom
Pepo48:issue-35405

Conversation

@Pepo48

@Pepo48 Pepo48 commented Dec 4, 2024

Copy link
Copy Markdown
Contributor

Closes: #35405

@vmuzikar vmuzikar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be a compilation error.

@Pepo48
Pepo48 marked this pull request as draft December 5, 2024 09:16
Closes: keycloak#35405

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
@Pepo48

Pepo48 commented Dec 5, 2024

Copy link
Copy Markdown
Contributor Author

@vmuzikar I decided to utilize @BeforeEach annotation instead - we've already used it for setting the port up, it should also do the trick for the property. Alternatively, we can create here a custom junit extension annotation in a similar fashion like we do for the integration tests, but it's probably unnecessary. Please, check again. Thanks.

@shawkins shawkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be done in a before all, with a after all that removes the setting?

Closes: keycloak#35405

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
@Pepo48

Pepo48 commented Dec 5, 2024

Copy link
Copy Markdown
Contributor Author

@shawkins sure, it can be done that way. We just need to leave the port setting annotated with @BeforeEach.

@vmuzikar vmuzikar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@vmuzikar
vmuzikar requested a review from shawkins December 6, 2024 12:54

@shawkins shawkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vmuzikar

vmuzikar commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

@Pepo48 Do you want to take it out of draft?

@Pepo48
Pepo48 marked this pull request as ready for review December 6, 2024 13:55
@Pepo48
Pepo48 merged commit 0e1a62f into keycloak:main Dec 6, 2024
@Pepo48
Pepo48 deleted the issue-35405 branch December 6, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Keycloak CI] - Quarkus UT (windows-latest) - Keycloak Quarkus Server Deployment

3 participants