]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: teardown http requests for feature-toggle 69766/head
authorNizamudeen A <nia@redhat.com>
Wed, 8 Jul 2026 05:21:50 +0000 (10:51 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 8 Jul 2026 05:21:50 +0000 (10:51 +0530)
commitfcbbca8949a97aa73bf59f318acd449f103b415c
tree2dedbdde3af90db6ddc850a1ab99e920559ded35
parent13383ddfa2592ac6bb5150dca691b5ccc5f4c0d8
mgr/dashboard: teardown http requests for feature-toggle

angular 19.2.latest is aggressively tearing down the test env which
forces the active rxjs timer to emit one execution as it collapses which
produces a ghost http in the case of request wrapped in the timer
service. so for now flushing all the requests manually to prevent it

Fixes: https://tracker.ceph.com/issues/77729
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.spec.ts