Commit 1f815a5a authored by Thong Kuah's avatar Thong Kuah

Pods and deployments should apply both in cache

Based on my reading of #calculate_reactive_cache in
ee/app/models/concerns/ee/kubernetes_service.rb, data[:pods] will always
be present whenever data[:deployments] is present.
parent 4066a1bc
...@@ -91,7 +91,8 @@ describe KubernetesService, models: true, use_clean_rails_memory_store_caching: ...@@ -91,7 +91,8 @@ describe KubernetesService, models: true, use_clean_rails_memory_store_caching:
before do before do
stub_reactive_cache( stub_reactive_cache(
service, service,
deployments: [] deployments: [],
pods: []
) )
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment