-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: spooler uats #38
base: main
Are you sure you want to change the base?
Conversation
Unit Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against 4711fb7 |
public void close() { | ||
if (server != null) { | ||
server.stop(0); | ||
((ExecutorService) server.getExecutor()).shutdownNow(); |
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.
Recommendation generated by Amazon CodeGuru Reviewer. Leave feedback on this recommendation by replying to the comment or by reacting to the comment using emoji.
Call shutdown()
to reject any incoming tasks and awaitTermination()
to wait for existing tasks to complete or until a timeout is reached. To stop the execution and processing of tasks, if necessary, call shutdownNow()
. Check the return value of awaitTermination()
and handle when the method times out while waiting for other threads to stop executing. See the following diffs on GitHub that make this code change: diff1, diff2
Learn more: ExecutorService in the Java Platform, Standard Edition 8 API Specification
client.close(); | ||
} | ||
} | ||
executorService.shutdownNow(); |
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.
Recommendation generated by Amazon CodeGuru Reviewer. Leave feedback on this recommendation by replying to the comment or by reacting to the comment using emoji.
Call shutdown()
to reject any incoming tasks and awaitTermination()
to wait for existing tasks to complete or until a timeout is reached. To stop the execution and processing of tasks, if necessary, call shutdownNow()
. Check the return value of awaitTermination()
and handle when the method times out while waiting for other threads to stop executing. See the following diffs on GitHub that make this code change: diff1, diff2
Learn more: ExecutorService in the Java Platform, Standard Edition 8 API Specification
Issue #, if available:
Description of changes:
Add OTF to the project and port over one basic UAT.
Testing
Passing when running locally
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.