Open Isra1997 opened 4 months ago
@Test void createAndPersistMsShoppingCart_withErrorCodeConflict_shouldThrowException() { // Arrange var cart = testData.buildCart(); expectPostMethod("/v1/customers/" + customerId + "/carts", null, HttpStatus.SERVICE_UNAVAILABLE); // Act/Assert Assertions.assertThrows( RemoteServiceException.class, () -> msPartnerOperationsService.createAndPersistMsShoppingCart( FLOW_ID, MS_CUSTOMER_ID, cart)); }
Retry three times and then fails with a PartnerException.
Goes into an infinite loop because of line 66 in PartnerServiceRetryStrategy.java
Please share test platform diagnostics logs. None The logs may contain test assembly paths, kindly review and mask those before sharing. None
Please share additional details about your environment. Windows 10 Version 1.15.3
Steps to reproduce
Expected behavior
Retry three times and then fails with a PartnerException.
Actual behavior
Goes into an infinite loop because of line 66 in PartnerServiceRetryStrategy.java
Diagnostic logs
Environment