]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: teardown http requests for feature-toggle 70070/head
authorNizamudeen A <nia@redhat.com>
Wed, 8 Jul 2026 05:21:50 +0000 (10:51 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 9 Jul 2026 10:14:11 +0000 (15:44 +0530)
commit247a2b04a294ba8350deeec5c4cc1134830bc1ea
treeda2dbb39d041373fe1ba55c6fcdcf973ec2b19a9
parent6c63510b7c0dbf0f7a99834ae407c9c1d3650b21
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>
(cherry picked from commit fcbbca8949a97aa73bf59f318acd449f103b415c)
src/pybind/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.spec.ts