Skip to content

Commit

Permalink
[UNDERTOW-1593] Add ActiveRequestTrackingHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondlee authored and fl4via committed Dec 4, 2024
1 parent a4720e3 commit ecdf982
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ public void testRequestTracking() throws InterruptedException {
t.start();

List<RequestStatistics> trackedRequests = handler.getTrackedRequests();
int attempts = 0;

// This test is somewhat time-sensitive in that an in-flight request is needed to verify that the handler
// is correctly tracking and returning active requests. To that end, the test submits a request in a
// Thread (above) to let the request be made in a background thread while the main thread attempts to
// get the active request information. The delay handler waits for termination via latch and
// meanwhile this thread tries to retrieve the request statistics. There is a max waiting time of 5 seconds.
try {
Expand Down

0 comments on commit ecdf982

Please sign in to comment.