-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[system test] [doc] cruise control package #10615
[system test] [doc] cruise control package #10615
Conversation
Signed-off-by: see-quick <maros.orsak159@gmail.com>
Signed-off-by: see-quick <maros.orsak159@gmail.com>
Signed-off-by: see-quick <maros.orsak159@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments, thanks for the PR
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlApiST.java
Outdated
Show resolved
Hide resolved
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlApiST.java
Outdated
Show resolved
Hide resolved
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlConfigurationST.java
Outdated
Show resolved
Hide resolved
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlConfigurationST.java
Outdated
Show resolved
Hide resolved
@TestDoc( | ||
description = @Desc("Test the Cruise Control functionality when API security is disabled."), | ||
steps = { | ||
@Step(value = "Initialize test storage and resource manager objects", expected = "Test storage and resource manager objects are created"), | ||
@Step(value = "Create Kafka Node Pools with 3 brokers each", expected = "Kafka Node Pools are successfully created and ready"), | ||
@Step(value = "Create a Kafka cluster with Cruise Control having API security disabled", expected = "Kafka cluster with Cruise Control and no API security is deployed"), | ||
@Step(value = "Create a Kafka Rebalance resource", expected = "Kafka Rebalance resource is successfully created"), | ||
@Step(value = "Wait for the Kafka Rebalance custom resource state to become ProposalReady", expected = "Kafka Rebalance custom resource state is ProposalReady") | ||
}, | ||
labels = { | ||
@Label(value = "cruise-control"), | ||
} | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it's not for this PR, but what benefit this test brings in comparison with the one in the CruiseControlApiST
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, we can possibly remove such test case in CruiseControlST
, because it seems it does less then test in CruiseControlApiST
IMHO. So I can create different PR to removing such test?
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlST.java
Outdated
Show resolved
Hide resolved
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlST.java
Outdated
Show resolved
Hide resolved
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlST.java
Outdated
Show resolved
Hide resolved
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlST.java
Outdated
Show resolved
Hide resolved
systemtest/src/test/java/io/strimzi/systemtest/cruisecontrol/CruiseControlST.java
Outdated
Show resolved
Hide resolved
Signed-off-by: see-quick <maros.orsak159@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, Maros. I left a few suggestions for consistency and a couple of questions where I wasn't sure about the description.
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlApiST.md
Outdated
Show resolved
Hide resolved
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlApiST.md
Outdated
Show resolved
Hide resolved
...lopment-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlConfigurationST.md
Outdated
Show resolved
Hide resolved
...lopment-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlConfigurationST.md
Outdated
Show resolved
Hide resolved
...lopment-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlConfigurationST.md
Outdated
Show resolved
Hide resolved
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlST.md
Outdated
Show resolved
Hide resolved
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlST.md
Show resolved
Hide resolved
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlST.md
Outdated
Show resolved
Hide resolved
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlST.md
Outdated
Show resolved
Hide resolved
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlST.md
Show resolved
Hide resolved
…ol.CruiseControlApiST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlConfigurationST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlApiST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlConfigurationST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlConfigurationST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
…ol.CruiseControlST.md Co-authored-by: PaulRMellor <47596553+PaulRMellor@users.noreply.github.com> Signed-off-by: Maros Orsak <maros.orsak159@gmail.com>
Signed-off-by: see-quick <maros.orsak159@gmail.com>
Signed-off-by: see-quick <maros.orsak159@gmail.com>
…notation Signed-off-by: see-quick <maros.orsak159@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Couple of places with periods.
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlST.md
Outdated
Show resolved
Hide resolved
development-docs/systemtests/io.strimzi.systemtest.cruisecontrol.CruiseControlST.md
Outdated
Show resolved
Hide resolved
Thanks updated :) |
Signed-off-by: see-quick <maros.orsak159@gmail.com>
Signed-off-by: see-quick <maros.orsak159@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks :)
@Step(value = "Deploy the cluster operator", expected = "Cluster operator is deployed") | ||
}, | ||
labels = { | ||
@Label(value = "cruise-control"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just got idea -> not for this PR, as you have it already hardcoded everywhere -> but what about creating some TestDocsLabels
where all these values will be stored - then you can just use it everywhere else instead of copy-pasting it every time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just got idea -> not for this PR, as you have it already hardcoded everywhere -> but what about creating some TestDocsLabels where all these values will be stored - then you can just use it everywhere else instead of copy-pasting it every time.
TestTags help with that idea I assume :D; Sure +1 it's great. I will create a PR with such a change.
Type of change
Description
This PR adds system test documentation to the cruise control package.
Checklist