diff --git a/test/e2e_node/runtime_conformance_test.go b/test/e2e_node/runtime_conformance_test.go index 54938f3e118..0e96bd34b3b 100644 --- a/test/e2e_node/runtime_conformance_test.go +++ b/test/e2e_node/runtime_conformance_test.go @@ -76,7 +76,7 @@ var _ = SIGDescribe("Container Runtime Conformance Test", func() { }) }) - f.It(testCase.description+"", f.WithNodeConformance(), f.WithFlaky() /* https://github.com/kubernetes/kubernetes/issues/134998 */, func(ctx context.Context) { + f.It(testCase.description+"", f.WithNodeConformance(), f.WithSerial(), func(ctx context.Context) { name := "image-pull-test" container := node.ConformanceContainer{ PodClient: e2epod.NewPodClient(f), @@ -94,6 +94,10 @@ var _ = SIGDescribe("Container Runtime Conformance Test", func() { auth := e2eregistry.User1DockerSecret(registryAddress).Data[v1.DockerConfigJsonKey] configFile := filepath.Join(services.KubeletRootDirectory, "config.json") + + // the kubelet would cache the config for 5 minutes, let's restart instead + restartKubelet(context.Background(), true) + err := os.WriteFile(configFile, []byte(auth), 0644) framework.ExpectNoError(err) ginkgo.DeferCleanup(func() { framework.ExpectNoError(os.Remove(configFile)) })