Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
4.9.0
-
None
-
-
CP: sprint 142
-
Core: Platform
-
Morning Glory (R2 2022)
-
TBD
Description
Timeout tests like MainVerticleTest.testPlaceInstanceHoldRequestTimeout have spurious test failures because CompletableFuture and Future may block each other:
12:46:48 INFO MockOkapi Waiting for 6000 ms before continuing 12:46:51 ERROR PatronHandler Exception calling OKAPI io.vertx.core.VertxException: Connection was closed 12:46:51 ERROR ? io.vertx.core.VertxException: Connection was closed 12:46:51 DEBUG Wire << "HTTP/1.1 500 Internal Server Error[\r][\n]" 12:46:51 DEBUG Wire << "content-type: application/json[\r][\n]" 12:46:51 DEBUG Wire << "content-length: 62[\r][\n]" 12:46:51 DEBUG Wire << "[\r][\n]" 12:46:51 DEBUG aultClientConnection Receiving response: HTTP/1.1 500 Internal Server Error
[ERROR] MainVerticleTest.testPlaceItemHoldRequestTimeout:999 1 expectation failed. Expected status code <408> but was <500>.
Solution: Replace CompletableFuture with Future
TestRail: Results
Attachments
Issue Links
- has to be done before
-
EDGPATRON-94 Release 4.9.1 for Morning Glory
-
- Closed
-