-
Notifications
You must be signed in to change notification settings - Fork 207
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
Remove all global state from setProperty #1138
Conversation
1d0cd03
to
bb3c173
Compare
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.
@artursouza the PR looks great! I have left a few tiny comments regarding switching to use Map.of()
instead of relying on Collections.unmodifiableMap()
.
bb3c173
to
b89ef70
Compare
@artursouza you might want to re-trigger the build. It seems that there is race condition between Testcontainers and Spring Boot Test Context for a particular test. |
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
b89ef70
to
60f4c29
Compare
@cicoyle we need your approval again since the PR has changed. Thank you! |
@artursouza it's not critical, but there a few more places in the PR where I mentioned that we could use |
20bf045
to
e4a373c
Compare
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
e4a373c
to
408b75f
Compare
@@ -86,6 +87,7 @@ public void beforeEach() throws InterruptedException { | |||
} | |||
|
|||
@Test | |||
@Disabled("Test is flaky due to global state in the spring test application.") |
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.
@salaboy This test is flaky, it has global state for setting properties somewhere. I disabled it until we find it. Can you help in a new PR after this?
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.
Created a tracking issue.
Done |
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.
lgtm
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
be40d48
to
23ec1cc
Compare
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: salaboy <Salaboy@gmail.com>
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: salaboy <Salaboy@gmail.com>
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: salaboy <Salaboy@gmail.com>
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: salaboy <Salaboy@gmail.com>
Description
Remove all global state in from setProperty
Added properties to ActorClient
Fixed constructor visibility for ActorClient
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: N/A
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: