mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Merge pull request #121176 from bzsuni/cleanup/e2e/expect_not_equal
remove deprecated framework.ExpectNotEqual for node
This commit is contained in:
commit
63ae3084b7
@ -101,7 +101,7 @@ var _ = SIGDescribe("Mount propagation", func() {
|
|||||||
// Fail the test if the namespace is not set. We expect that the
|
// Fail the test if the namespace is not set. We expect that the
|
||||||
// namespace is unique and we might delete user data if it's not.
|
// namespace is unique and we might delete user data if it's not.
|
||||||
if len(f.Namespace.Name) == 0 {
|
if len(f.Namespace.Name) == 0 {
|
||||||
framework.ExpectNotEqual(f.Namespace.Name, "")
|
gomega.Expect(f.Namespace.Name).NotTo(gomega.BeEmpty())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ func (t *SysctlUpgradeTest) Test(ctx context.Context, f *framework.Framework, do
|
|||||||
framework.ExpectNoError(err)
|
framework.ExpectNoError(err)
|
||||||
}
|
}
|
||||||
if err == nil {
|
if err == nil {
|
||||||
framework.ExpectNotEqual(pod.Status.Phase, v1.PodRunning)
|
gomega.Expect(pod.Status.Phase).NotTo(gomega.Equal(v1.PodRunning))
|
||||||
}
|
}
|
||||||
|
|
||||||
t.verifySafeSysctlWork(ctx, f)
|
t.verifySafeSysctlWork(ctx, f)
|
||||||
|
Loading…
Reference in New Issue
Block a user