]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix random E2E error in mgr-modules 35706/head
authorTiago Melo <tmelo@suse.com>
Sat, 9 May 2020 02:28:39 +0000 (02:28 +0000)
committerTiago Melo <tmelo@suse.com>
Mon, 22 Jun 2020 13:51:01 +0000 (13:51 +0000)
commita2ce8181c8ed00bdbc6f588cffd929b8882cbee4
treeab063a4f882afbf8ea22860e4f5043757de2fd1d
parentc797bebb556f5a6ea57c43ad0aca5f3329a28f9b
mgr/dashboard: Fix random E2E error in mgr-modules

This test failed at random times when it tried to find the new value of pool_ids
in the balancer module.
This happened because the value of pool_ids is automatically reverted by ceph,
so in some situations when we tried to read the new value,
it was already reverted and failed.

Enhanced the tests to be able to use any text input, not only the ones with
empty default values.

Fixes: https://tracker.ceph.com/issues/45445
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 08bb5a851f729b01c7cf69f662588903fd7c14bc)
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.po.ts