From c13d1edf229596885190fa3a722a083b83fdb1ad Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Thu, 1 Oct 2020 15:56:45 -0600 Subject: [PATCH] ceph: skip smoke suite on k8s 1.11 The smoke suite relies on the csi driver for all the file and block tests. In the release branch on k8s 1.11 we only need to run the flex suite and can skip the smoke suite. Signed-off-by: Travis Nielsen --- tests/integration/ceph_smoke_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/ceph_smoke_test.go b/tests/integration/ceph_smoke_test.go index 130b48e69..a137545c8 100644 --- a/tests/integration/ceph_smoke_test.go +++ b/tests/integration/ceph_smoke_test.go @@ -64,6 +64,11 @@ func TestCephSmokeSuite(t *testing.T) { t.Skip() } + // Skip the suite if CSI is not supported + kh, err := utils.CreateK8sHelper(func() *testing.T { return t }) + require.NoError(t, err) + checkSkipCSITest(t, kh) + s := new(SmokeSuite) defer func(s *SmokeSuite) { HandlePanics(recover(), s.op, s.T)