Skip to content
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

[ST] Kafka Roller: enable pod pending test for kraft controller #9584

Merged
merged 4 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ public static void waitUntilPodLabelsDeletion(String namespaceName, String podNa
}
}

public static void waitForPendingPod(String namespaceName, String kafkaName, String nodePoolName) {
waitForPendingPod(namespaceName, kafkaName + "-" + nodePoolName);
}

henryZrncik marked this conversation as resolved.
Show resolved Hide resolved
/**
* Ensures that at least one pod from listed (by prefix) is in {@code Pending} phase
* @param namespaceName Namespace name
Expand All @@ -252,6 +256,10 @@ public static void waitForPendingPod(String namespaceName, String podPrefix) {
});
}

public static void verifyThatRunningPodsAreStable(String namespaceName, String kafkaName, String nodePoolName) {
verifyThatPodsAreStable(namespaceName, kafkaName + "-" + nodePoolName, "Running");
}

henryZrncik marked this conversation as resolved.
Show resolved Hide resolved
/**
* Ensures every pod in a StrimziPodSet is stable in the {@code Running} phase.
* A pod must be in the Running phase for {@link TestConstants#GLOBAL_RECONCILIATION_COUNT} seconds for
Expand Down