Repository navigation
[improve][pulsar-client-tools][ISSUE-16082] - Updated set retention time description and added test cases including default time - #16130
Conversation
e31023a to
4fd80da
Compare
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
Can you please review this PR regarding issue (#16082) ? It clarifies that the default time unit (without time unit) is seconds. I have added supporting unit test cases with and without time unit. From my understanding the failing unit tests (TEST-org.apache.pulsar.broker.service.RackAwareTest.xml) is not related this PR or it's tests. Please let me know if there is anything else required. Thanks for your time. |
|
@horizonzy |
|
@Anonymitaet, @horizonzy - Please let me know if you have any feedback on this PR. Thanks |
Fine. |
horizonzy
left a comment
There was a problem hiding this comment.
Could you add default unit for param --size in the docs and test for it?
And there are another two SetRetention class.
1.
2.
|
Hi @horizonzy - Thanks for your feedback. I've updated description for size parameter and added test cases as you had recommended. Please let me know if you have any additional advice. Thanks again for your time. |
|
/pulsarbot run-failure-checks |
|
@horizonzy - Thanks for your thorough feedback. I've updated the code based on your recommendations. |
|
/pulsarbot run-failure-checks |
|
@Anonymitaet ping |
|
I have updated the description based on your recommendations. Please let me know if there is anything else required. Thanks again for your advice/time. |
|
Thanks for your contribution! LGTM from the technical writing perspective 😊 |
|
@Anonymitaet - It looks like PR is pending your review feedback ( |
Anonymitaet
left a comment
There was a problem hiding this comment.
Approve from a technical writing perspective.
|
@Anonymitaet @horizonzy - Please let me know if there is anything required for this PR to be merged to master. Thanks |
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
@Anonymitaet @horizonzy - The failing tests (Pulsar CI/CI - Unit Broker - Flaky, Pulsar CI/ CI - System Pulsar Connectors, CI - CPP, Python Tests / System-PULSAR_CONNECTORS_THREAD, CI - CPP, Python Tests / Unit-BROKER_FLAKY Tests) are not related this PR and are still failing despite invoking Please let me know if there is anything required from my side to merge this to master. Thanks again for your time and advice. |
|
@mans2singh your PR can not be merged since some required tests failed. Can you get all required tests passed? |
…on time description and added test cases including default time
…or size and added test cases
…ased on review feedback
…ased on review feedback
… for time and size parameters based on review feedback
c0aaaa9 to
55b4c41
Compare
|
/pulsarbot run-failure-checks |
2 similar comments
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
|
Hi @Anonymitaet - All checks are passing now. Please let me know if there is anything else required. Thanks again for your guidance. |
|
Thanks @Anonymitaet @horizonzy for your help. |
Fixes #16082
Motivation
-toption isRetention time in minutesbut if no time unit is specified, it is assumed to be seconds.Modifications
Verifying this change
This change added tests and can be verified as follows:
PulsarAdminToolTestwith and without time unit suffix.Does this pull request potentially affect one of the following parts:
If
yeswas chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-required(Your PR needs to update docs and you will update later)
doc-not-neededThis is a change in argument description.
doc(Your PR contains doc changes)
doc-complete(Docs have been already added)