While the test passes locally with no issue, it hangs on one of the PUT / DELETE / HEAD / OPTIONS / TRACE. The test passes on CI, if only one of the above was executed. Any combination of two (or more) causes the build to hang.
I wasn't able to get to the bottom of cause, but I suspect it has to do with resource releasing.
I refactored the test to use @ParameterizedTest to both help passing the build and remove some code duplication in the test. And effectively added PATCH under test as well. However it does introduce a new test dependency: org.junit.jupiter:junit-jupiter-params.
I'd like to add CI build using GitHub Action, so that we can fix the build status badge in README.md.
Adding the build itself is straight forward. However, the build seems stuck on one particular test:
While the test passes locally with no issue, it hangs on one of the
PUT
/DELETE
/HEAD
/OPTIONS
/TRACE
. The test passes on CI, if only one of the above was executed. Any combination of two (or more) causes the build to hang.I wasn't able to get to the bottom of cause, but I suspect it has to do with resource releasing.
I refactored the test to use
@ParameterizedTest
to both help passing the build and remove some code duplication in the test. And effectively addedPATCH
under test as well. However it does introduce a new test dependency:org.junit.jupiter:junit-jupiter-params
.