public double getJobManagerMemoryLimitFactor() {
        final double limitFactor =
                flinkConfig.get(KubernetesConfigOptions.JOB_MANAGER_MEMORY_LIMIT_FACTOR);
        checkArgument(
                limitFactor >= 1,
                "%s should be greater or equal to 1.",
                KubernetesConfigOptions.JOB_MANAGER_MEMORY_LIMIT_FACTOR.key());
        return limitFactor;
    }
@Test
    void testGetJobManagerMemoryLimitFactor() {
        flinkConfig.set(
                KubernetesConfigOptions.JOB_MANAGER_MEMORY_LIMIT_FACTOR,
                JOB_MANAGER_MEMORY_LIMIT_FACTOR);
        assertThat(kubernetesJobManagerParameters.getJobManagerMemoryLimitFactor())
                .isEqualTo(JOB_MANAGER_MEMORY_LIMIT_FACTOR, within(0.00001));
    }