From: Kiefer Chang Date: Thu, 12 Nov 2020 09:20:48 +0000 (+0800) Subject: mgr/dashboard: fix cephadm e2e test failure on deleting OSDs X-Git-Tag: v16.1.0~598^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F38038%2Fhead;p=ceph.git mgr/dashboard: fix cephadm e2e test failure on deleting OSDs - Adapt the OSD ID column change in this PR: https://github.com/ceph/ceph/pull/37506 - Turn off Cypress retries because it makes the failure log misleading. Fixes: https://tracker.ceph.com/issues/48209 Signed-off-by: Kiefer Chang --- diff --git a/qa/workunits/cephadm/test_dashboard_e2e.sh b/qa/workunits/cephadm/test_dashboard_e2e.sh index 34633404723..9e1da387d4c 100755 --- a/qa/workunits/cephadm/test_dashboard_e2e.sh +++ b/qa/workunits/cephadm/test_dashboard_e2e.sh @@ -47,7 +47,7 @@ EOF cypress_run () { local specs="$1" local timeout="$2" - local override_config="ignoreTestFiles=*.po.ts,testFiles=${specs}" + local override_config="ignoreTestFiles=*.po.ts,retries=0,testFiles=${specs}" if [ x"$timeout" != "x" ]; then override_config="${override_config},defaultCommandTimeout=${timeout}" diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts index 7e0da4e7ea0..7cd738b822e 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts @@ -9,7 +9,7 @@ export class OSDsPageHelper extends PageHelper { pages = pages; columnIndex = { - id: 4, + id: 3, status: 5 };