[JAVA-4025] RetryableWritesTest should re-throw operation exceptions Created: 27/Feb/21 Updated: 28/Oct/23 Resolved: 03/Mar/21 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Test Coverage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
AbstractRetryableWritesTest swallows unexpected exceptions throw from operations and then compares expected result against empty actual result. This makes debugging failures like JAVA-3912 more difficult. It also can result in a false positive test success in the case where no expected result is supplied. |
| Comments |
| Comment by Githook User [ 03/Mar/21 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Ensure retryable writes tests fail when unexpected exception is thrown (#675) Also, ensure that the stack trace of the unexpected exception is
|