Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excavator: Upgrade dependencies #2090

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Conversation

svc-excavator-bot
Copy link
Collaborator

excavator is a bot for automating changes across repositories.

Changes produced by the roomba/versions-props-latest check.

To enable or disable this check, please contact the maintainers of Excavator.

assertThatThrownBy(channel.execute(TestEndpoint.POST, request)::get)
.hasCauseInstanceOf(SocketTimeoutException.class);
ListenableFuture<Response> response = channel.execute(TestEndpoint.POST, request);
assertThatThrownBy(() -> response.get()).hasCauseInstanceOf(SocketTimeoutException.class);
Copy link
Contributor

Choose a reason for hiding this comment

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

This assertj upgrade adds an overload to assertThatThrownBy which breaks some method reference inputs. We may want to excavate something to handle this.

In this example I extracted a variable, but it may be easier on the automation if we add a cast to the specific assertj interface type, otherwise the assertThatThrownBy may accept exceptions thrown from a broader snippet than we expect. For example, we want this test to fail if channel.execute throws a SocketTimeoutException, which should only be thrown by response.get().

Copy link
Contributor

Choose a reason for hiding this comment

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

Disregard, this has been reverted in assertj: https://github.com/assertj/assertj/releases/tag/assertj-build-3.25.1

@bulldozer-bot bulldozer-bot bot merged commit 78f0264 into develop Jan 2, 2024
6 checks passed
@bulldozer-bot bulldozer-bot bot deleted the roomba/versions-props-latest branch January 2, 2024 19:58
@svc-autorelease
Copy link
Collaborator

Released 3.105.0

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.

3 participants