Remove useless run_periodic_tasks call in ClientRouter
The only periodic task (_remove_stale_clients) in ClientRouter was
removed in change I10f374adca672576058c4dbab708c040d166df47 and this
isn't the correct way to run periodic tasks repeatedly anyway (this
will only run them once upon ClientRouter.__init__), so remove the
useless call.
This also removes a functional regression test which was testing only
this specific code path, where the intended periodic task ran only
once upon init of the compute service. All other periodic tasks in
compute are disabled by default in functional tests.
Reviewed: https:/ /review. openstack. org/554381 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2f7df9417bd 79c00deb7acbd9f ebc1b730c3301a
Committed: https:/
Submitter: Zuul
Branch: master
commit 2f7df9417bd79c0 0deb7acbd9febc1 b730c3301a
Author: melanie witt <email address hidden>
Date: Mon Mar 19 23:10:47 2018 +0000
Remove useless run_periodic_tasks call in ClientRouter
The only periodic task (_remove_ stale_clients) in ClientRouter was 76058c4dbab708c 040d166df47 and this __init_ _), so remove the
removed in change I10f374adca6725
isn't the correct way to run periodic tasks repeatedly anyway (this
will only run them once upon ClientRouter.
useless call.
This also removes a functional regression test which was testing only
this specific code path, where the intended periodic task ran only
once upon init of the compute service. All other periodic tasks in
compute are disabled by default in functional tests.
Related-Bug: #1627838
Change-Id: I3079c5ae4bd60d e44f04e0136978a 67d13e7a809