Merge pull request #119489 from carlory/cleanup-e2e-common-framework-equal

e2e_common: stop using deprecated framework.ExpectEqual
This commit is contained in:
Kubernetes Prow Robot
2023-08-17 03:25:22 -07:00
committed by GitHub
14 changed files with 81 additions and 76 deletions

View File

@@ -95,7 +95,7 @@ var _ = SIGDescribe("Probing container", func() {
}
restartCount := getRestartCount(p)
framework.ExpectEqual(restartCount, 0, "pod should have a restart count of 0 but got %v", restartCount)
gomega.Expect(restartCount).To(gomega.Equal(0), "pod should have a restart count of 0 but got %v", restartCount)
})
/*
@@ -123,7 +123,7 @@ var _ = SIGDescribe("Probing container", func() {
}
restartCount := getRestartCount(p)
framework.ExpectEqual(restartCount, 0, "pod should have a restart count of 0 but got %v", restartCount)
gomega.Expect(restartCount).To(gomega.Equal(0), "pod should have a restart count of 0 but got %v", restartCount)
})
/*
@@ -773,7 +773,7 @@ var _ = SIGDescribe("[NodeAlphaFeature:SidecarContainers][Feature:SidecarContain
}
restartCount := getRestartCount(p)
framework.ExpectEqual(restartCount, 0, "pod should have a restart count of 0 but got %v", restartCount)
gomega.Expect(restartCount).To(gomega.Equal(0), "pod should have a restart count of 0 but got %v", restartCount)
})
/*
@@ -802,7 +802,7 @@ var _ = SIGDescribe("[NodeAlphaFeature:SidecarContainers][Feature:SidecarContain
}
restartCount := getRestartCount(p)
framework.ExpectEqual(restartCount, 0, "pod should have a restart count of 0 but got %v", restartCount)
gomega.Expect(restartCount).To(gomega.Equal(0), "pod should have a restart count of 0 but got %v", restartCount)
})
/*