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

Support CPU resource configurable for Kubernates job under MoK Mode #16008

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test name
  • Loading branch information
fectrain committed Mar 4, 2024
commit 57a917f253dddaf9bcee26ec4458c07611cc7364
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ void testEphemeralStorageIsRespected() throws IOException
}

@Test
void testEphemeralResourceIsEspected() throws IOException
void testCPUResourceIsEspected() throws IOException
{
TestKubernetesClient testClient = new TestKubernetesClient(client);
Pod pod = K8sTestUtils.fileToResource("ephemeralPodSpec.yaml", Pod.class);
Expand Down Expand Up @@ -610,7 +610,7 @@ void testEphemeralResourceIsEspected() throws IOException
config.getCpuCoreInMicro()
)
);
Job expected = K8sTestUtils.fileToResource("expectedEphemeralOutputResource.yaml", Job.class);
Job expected = K8sTestUtils.fileToResource("expectedCPUResourceOutput.yaml", Job.class);
// something is up with jdk 17, where if you compress with jdk < 17 and try and decompress you get different results,
// this would never happen in real life, but for the jdk 17 tests this is a problem
// could be related to: https://bugs.openjdk.org/browse/JDK-8081450
Expand Down