Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Development
: Fix issues with server test flakiness #9417Development
: Fix issues with server test flakiness #9417Changes from all commits
542cca5
b07dd0a
0c59fcd
e9e96bc
0c56efc
7a37b52
9392187
fcd3880
3efe60c
efe4ac8
7bd3cd3
7001f15
04cc52a
908956a
ebebf90
e47ac99
877826e
0e5ac15
b3652e3
2ec220d
9f13f01
1587b1d
3f0598a
caf5fd1
8361b79
e9af0a0
3951f0a
89f25a6
61988fa
f6d320c
d781859
d3cec06
bca5dcc
1ed4d48
63b9708
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
LGTM: Improved verification logic.
The changes to
verifyRepositoryCallWithCorrectNotification
method enhance the precision of the test by ensuring exactly one notification with the expected title is created. The use of streams improves readability.Consider using
assertThat(relevantNotifications).singleElement()
instead ofassertThat(relevantNotifications).hasSize(1)
for a more expressive assertion.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
Rename parameter
title
totext
for clarityIn the
filterRelevantNotifications
method, the parametertitle
is compared withnotification.getText()
. To avoid confusion betweennotification.getTitle()
andnotification.getText()
, consider renaming the parameter totext
to accurately reflect its purpose.Apply this diff to rename the parameter:
📝 Committable suggestion