Commit 7a089c3e authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #25695 from Random-Liu/skip-runtime-conformance-test

Automatic merge from submit-queue Node E2E: Shorten consistently check timeout of runtime conformance test #24191 increased the node e2e running time by almost half an hour. It makes the test running time exceed 60 minutes timeout, which causes quite a few issues (See https://github.com/kubernetes/kubernetes/issues/25639). As a quite fix, we'll skip all the runtime conformance test. @liangchenye We should remove redundant test cases in #24191 such as https://github.com/kubernetes/kubernetes/pull/24191#discussion_r62968819, and reduce the test running time as much as possible.
parents 445deb21 d1ab3b7f
...@@ -32,8 +32,9 @@ import ( ...@@ -32,8 +32,9 @@ import (
) )
const ( const (
retryTimeout = time.Minute * 5 consistentCheckTimeout = time.Second * 20
pollInterval = time.Second * 5 retryTimeout = time.Minute * 5
pollInterval = time.Second * 5
) )
type testStatus struct { type testStatus struct {
...@@ -176,7 +177,7 @@ var _ = Describe("Container runtime Conformance Test", func() { ...@@ -176,7 +177,7 @@ var _ = Describe("Container runtime Conformance Test", func() {
Consistently(func() api.PodPhase { Consistently(func() api.PodPhase {
status, phase, err = runningContainer.GetStatus() status, phase, err = runningContainer.GetStatus()
return phase return phase
}, retryTimeout, pollInterval).Should(Equal(testStatus.Phase)) }, consistentCheckTimeout, pollInterval).Should(Equal(testStatus.Phase))
Expect(err).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())
By("it should get the expected 'RestartCount'") By("it should get the expected 'RestartCount'")
...@@ -282,7 +283,7 @@ var _ = Describe("Container runtime Conformance Test", func() { ...@@ -282,7 +283,7 @@ var _ = Describe("Container runtime Conformance Test", func() {
} else { } else {
return phase return phase
} }
}, retryTimeout, pollInterval).Should(Equal(testStatus.Phase)) }, consistentCheckTimeout, pollInterval).Should(Equal(testStatus.Phase))
Expect(err).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())
By("it should get the expected 'RestartCount'") By("it should get the expected 'RestartCount'")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment