From 2d793cdc3fa316a0ffda2681ea3ab9af91f47164 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Mon, 6 Jul 2020 09:19:41 -0600 Subject: [PATCH] ceph: disable ceph mgr test temporarily Due to an issue in ceph master, the mgr integration test is failing. Until this is fixed, we will temporarily disable the test. A fix is expected with https://github.com/ceph/ceph/pull/35915 Signed-off-by: Travis Nielsen --- tests/framework/installer/environment.go | 2 +- tests/integration/ceph_mgr_test.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/framework/installer/environment.go b/tests/framework/installer/environment.go index 0029c08d9..24aae0d2e 100644 --- a/tests/framework/installer/environment.go +++ b/tests/framework/installer/environment.go @@ -42,7 +42,7 @@ func testStorageProvider() string { // TestIsOfficialBuild gets the storage provider for which tests should be run func TestIsOfficialBuild() bool { - return os.Getenv("TEST_IS_OFFICIAL_BUILD") == "true" + return getEnvVarWithDefault("TEST_IS_OFFICIAL_BUILD", "") == "true" } // baseTestDir gets the base test directory diff --git a/tests/integration/ceph_mgr_test.go b/tests/integration/ceph_mgr_test.go index a72b2fb31..b064c929c 100644 --- a/tests/integration/ceph_mgr_test.go +++ b/tests/integration/ceph_mgr_test.go @@ -49,6 +49,8 @@ func TestCephMgrSuite(t *testing.T) { if installer.TestIsOfficialBuild() { t.Skip() } + logger.Info("TEMPORARILY disable the test while there is an issue in ceph master") + t.Skip() s := new(CephMgrSuite) defer func(s *CephMgrSuite) {