You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by "shoothzj (via GitHub)" <gi...@apache.org> on 2024/05/03 01:44:20 UTC

[PR] Fix test TestTLS for Windows compatibility in BookKeeper [bookkeeper]

shoothzj opened a new pull request, #4329:
URL: https://github.com/apache/bookkeeper/pull/4329

   ### Motivation
   
   The tests under `bookkeeper-server` were failing on Windows due to path handling and other compatibility issues. The aim of this PR is to ensure that all tests pass on Windows as well as other operating systems by making the necessary adjustments in the test code.
   
   ### Changes
   
   - **TestBKConfiguration**: Updated the comment style from a block comment to a single-line comment for `setZkRetryBackoffMaxRetries`.
   - **TestTLS**:
     - Modified `getResourcePath` to use `Paths.get()` which handles file paths in a cross-platform manner.
     - Replaced `assertTrue` with `assertFalse` followed by `isEmpty()` to check if ensembles are present, improving the readability.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix test TestTLS for Windows compatibility in BookKeeper [bookkeeper]

Posted by "shoothzj (via GitHub)" <gi...@apache.org>.
shoothzj commented on PR #4329:
URL: https://github.com/apache/bookkeeper/pull/4329#issuecomment-2092349306

   @dlg99 @eolivelli @hangc0276 @merlimat @nicoloboschi @StevenLuMT @zhaijack PTAL


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix test TestTLS for Windows compatibility in BookKeeper [bookkeeper]

Posted by "shoothzj (via GitHub)" <gi...@apache.org>.
shoothzj commented on PR #4329:
URL: https://github.com/apache/bookkeeper/pull/4329#issuecomment-2094825175

   @dlg99 @eolivelli @hangc0276 @merlimat @nicoloboschi @StevenLuMT @wenbingshen @zhaijack PTAL


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix test TestTLS for Windows compatibility in BookKeeper [bookkeeper]

Posted by "shoothzj (via GitHub)" <gi...@apache.org>.
shoothzj merged PR #4329:
URL: https://github.com/apache/bookkeeper/pull/4329


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org