Skip to content

Commit

Permalink
Added more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Feb 14, 2025
1 parent b5526d1 commit e890000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ private boolean doesBranchExist(String branch) throws IOException, InterruptedEx
.header("Accept", "application/vnd.github.v3+json")
.build();
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
log.info("Got the following response status code: {}", response.statusCode());
log.info("Got the following response: {}", response.body());
return response.statusCode() == 200;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void should_verify_current_milestone(String version) throws JsonProcessingExcept
@ParameterizedTest
@CsvSource(textBlock = """
0.1.2,0.1.1
0.2.0-RC1,0.2.0-M2
0.2.0-M3,0.2.0-M2
1.0.0,1.0.0-RC1
""")
void should_verify_next_milestone(String next, String previous) throws JsonProcessingException {
Expand Down

0 comments on commit e890000

Please sign in to comment.