-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore thread starvation tests (#12395)
For #12214 restore ee9 and ee10 thread starvation tests * Deprecated ContentSourceCompletableFuture and added protection to method to match invocation type * more demand invocables with invocation type * Deprecated the CF APIs and replaced with explicit getXxx onXxx methods * replace FutureCallback and FuturePromise usages with Blocker.* instead * Converted new API on FormFields to use Promise * Modified SerializedInvoker to take into account the task InvocationType. * Added ThreadStarvationTest for all transports, to check that also HTTP/2 and HTTP/3 do not starve in case of non-blocking reads. * Improved Core ThreadStarvationTest * Fixed AsyncServletLongPollTest in ee9 and ee10 to match the current behavior in case of close. * Removed Invocable.InvocableCompletableFuture * Fixed SerializedInvoker. * Improved ThreadStarvationTest. * refined more DemandTask implementations * Added InvocableType.runWithoutBlocking (name is WIP) * replace Thread.sleep() with awaitility --------- Signed-off-by: Ludovic Orban <lorban@bitronix.be> Signed-off-by: Simone Bordet <simone.bordet@gmail.com> Co-authored-by: gregw <gregw@webtide.com> Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
- Loading branch information
1 parent
17e5820
commit 94c3f9d
Showing
51 changed files
with
2,705 additions
and
846 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.