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

add mini k8s stress test #8978

Merged
merged 1 commit into from
Dec 21, 2021
Merged

add mini k8s stress test #8978

merged 1 commit into from
Dec 21, 2021

Conversation

jrhizor
Copy link
Contributor

@jrhizor jrhizor commented Dec 21, 2021

We've run into a few cases where we have some sort of race condition or other problem with kube pod processes that isn't apparent unless we're running pods in parallel. This runs just a few simple pods in parallel and makes the wait duration configurable so we can execute the test much faster.

@github-actions github-actions bot added area/platform issues related to the platform area/worker Related to worker labels Dec 21, 2021
@jrhizor jrhizor temporarily deployed to more-secrets December 21, 2021 02:48 Inactive
@jrhizor jrhizor temporarily deployed to more-secrets December 21, 2021 05:58 Inactive
@@ -66,7 +71,8 @@ public static void init() throws Exception {

KubePortManagerSingleton.init(new HashSet<>(openPorts.subList(1, openPorts.size() - 1)));
processFactory =
new KubeProcessFactory(new WorkerConfigs(new EnvConfigs()), "default", officialClient, fabricClient, heartbeatUrl, getHost(), false);
new KubeProcessFactory(new WorkerConfigs(new EnvConfigs()), "default", officialClient, fabricClient, heartbeatUrl, getHost(), false,
Duration.ofSeconds(1));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably make the tests much faster too!

@jrhizor jrhizor merged commit ae5b1cf into master Dec 21, 2021
@jrhizor jrhizor deleted the jrhizor/add-mini-stress-test branch December 21, 2021 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/worker Related to worker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants