Skip to content

Commit 14ef841

Browse files
committed
Update vender dependency csi-test
Update csi-test vendor
1 parent 36d4241 commit 14ef841

File tree

9 files changed

+1601
-1557
lines changed

9 files changed

+1601
-1557
lines changed

Gopkg.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
non-go = true
7777

7878
[[constraint]]
79-
branch = "v0.3.0"
79+
branch = "master"
8080
name = "github.com/kubernetes-csi/csi-test"
8181

8282
[[constraint]]

test/e2e/tests/single_zone_e2e_test.go

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,8 @@ var _ = Describe("GCE PD CSI Driver", func() {
193193
// Test volume with op pending
194194

195195
It("Should create and delete snapshot for the volume with default zone", func() {
196-
// Create new driver and client
197-
Expect(testInstances).NotTo(BeEmpty())
198-
testContext, err := testutils.GCEClientAndDriverSetup(testInstances[0])
199-
Expect(err).To(BeNil(), "Set up new Driver and Client failed with error")
200-
defer func() {
201-
err := remote.TeardownDriverAndClient(testContext)
202-
Expect(err).To(BeNil(), "Teardown Driver and Client failed with error")
203-
}()
196+
Expect(testContexts).ToNot(BeEmpty())
197+
testContext := getRandomTestContext()
204198

205199
p, z, _ := testContext.Instance.GetIdentity()
206200
client := testContext.Client
@@ -258,14 +252,8 @@ var _ = Describe("GCE PD CSI Driver", func() {
258252
})
259253

260254
It("Should create and delete snapshot for RePD in two zones ", func() {
261-
// Create new driver and client
262-
Expect(testInstances).NotTo(BeEmpty())
263-
testContext, err := testutils.GCEClientAndDriverSetup(testInstances[0])
264-
Expect(err).To(BeNil(), "Failed to set up new driver and client")
265-
defer func() {
266-
err := remote.TeardownDriverAndClient(testContext)
267-
Expect(err).To(BeNil(), "Teardown Driver and Client failed with error")
268-
}()
255+
Expect(testContexts).ToNot(BeEmpty())
256+
testContext := getRandomTestContext()
269257

270258
controllerInstance := testContext.Instance
271259
controllerClient := testContext.Client

vendor/github.com/kubernetes-csi/csi-test/pkg/sanity/cleanup.go

Lines changed: 134 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)