kuryr-kubernetes/kuryr_kubernetes/tests/unit/controller/handlers
Maysa Macedo 0719ca7b2a Skip pool pre population if no Status is present on CRD
In case the kuryrnetwork_population handler is enabled
and a Namespace creation was triggered, it's possible that
the kuryrnetwork_population handler attempts to do its job
before the KuryrNetwork handles the CR update with status field.
This commit fixes this race by skipping the event for the
kuryrnetwork_population when no 'status' is present and
modifying the event to be handled on a on_present operation
since the on_added would only be triggered once.

Closes-bug: 1916544
Change-Id: I7221c67990a3dd6974ea362d209390c716540ceb
2021-02-23 22:59:13 +00:00
..
__init__.py Controller event handling pipeline 2016-11-03 13:08:29 +00:00
test_fake_handler.py Kuryr-Controller: make handlers pluggable 2018-04-17 17:02:00 +03:00
test_kuryrnetwork.py Adapt selfLink calculation for any k8s objects. 2021-01-12 15:59:22 +01:00
test_kuryrnetwork_population.py Skip pool pre population if no Status is present on CRD 2021-02-23 22:59:13 +00:00
test_kuryrnetworkpolicy.py Removing the upgrade code from Kuryr-Kubernetes repo 2021-02-12 17:55:52 +00:00
test_kuryrport.py Adapt selfLink calculation for any k8s objects. 2021-01-12 15:59:22 +01:00
test_lbaas.py Adapt selfLink calculation for Service objects. 2021-01-11 10:19:24 +01:00
test_loadbalancer.py Merge "Introduce NodesSubnetsDriver" 2021-01-26 13:21:29 +00:00
test_machine.py Add OpenShiftNodesSubnets driver and MachineHandler 2021-01-22 13:41:39 +01:00
test_namespace.py Removing the upgrade code from Kuryr-Kubernetes repo 2021-02-12 17:55:52 +00:00
test_pipeline.py Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
test_pod_label.py Adapt selfLink calculation for any k8s objects. 2021-01-12 15:59:22 +01:00
test_policy.py Adapt selfLink calculation for any k8s objects. 2021-01-12 15:59:22 +01:00
test_vif.py Removing the upgrade code from Kuryr-Kubernetes repo 2021-02-12 17:55:52 +00:00