File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,14 @@ package common
19
19
import (
20
20
"fmt"
21
21
22
- "k8s.io/api/core/v1"
22
+ v1 "k8s.io/api/core/v1"
23
23
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
24
24
"k8s.io/apimachinery/pkg/util/uuid"
25
25
"k8s.io/kubernetes/test/e2e/framework"
26
26
e2elog "k8s.io/kubernetes/test/e2e/framework/log"
27
27
imageutils "k8s.io/kubernetes/test/utils/image"
28
28
29
29
"github.com/onsi/ginkgo"
30
- "github.com/onsi/gomega"
31
30
)
32
31
33
32
var _ = ginkgo .Describe ("[sig-node] ConfigMap" , func () {
@@ -154,7 +153,7 @@ var _ = ginkgo.Describe("[sig-node] ConfigMap", func() {
154
153
configMapFromUpdate , err := f .ClientSet .CoreV1 ().ConfigMaps (f .Namespace .Name ).Get (name , metav1.GetOptions {})
155
154
framework .ExpectNoError (err )
156
155
ginkgo .By (fmt .Sprintf ("Verifying update of configMap %v/%v" , f .Namespace .Name , configMap .Name ))
157
- gomega . Expect (configMapFromUpdate .Data ). NotTo ( gomega . Equal ( configMapOriginalState .Data ) )
156
+ framework . ExpectNotEqual (configMapFromUpdate .Data , configMapOriginalState .Data )
158
157
})
159
158
})
160
159
You can’t perform that action at this time.
0 commit comments