mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 06:32:32 +00:00
feat: use framework.ExpectNotEqual in e2e test
This commit is contained in:
@@ -457,7 +457,7 @@ func (t StorageClassTest) TestBindingWaitForFirstConsumer(nodeSelector map[strin
|
||||
// TestBindingWaitForFirstConsumerMultiPVC tests the binding with WaitForFirstConsumer mode
|
||||
func (t StorageClassTest) TestBindingWaitForFirstConsumerMultiPVC(claims []*v1.PersistentVolumeClaim, nodeSelector map[string]string, expectUnschedulable bool) ([]*v1.PersistentVolume, *v1.Node) {
|
||||
var err error
|
||||
gomega.Expect(len(claims)).ToNot(gomega.Equal(0))
|
||||
framework.ExpectNotEqual(len(claims), 0)
|
||||
namespace := claims[0].Namespace
|
||||
|
||||
ginkgo.By("creating a storage class " + t.Class.Name)
|
||||
|
Reference in New Issue
Block a user