Skip to content

Commit

Permalink
Fix imagePullPolicy missing in tests (apache#13316)
Browse files Browse the repository at this point in the history
The apache#13289 fixed imagePullPolicy behaviour but broke master K8S
tests. This PR attempts to fix it.
  • Loading branch information
potiuk authored Dec 26, 2020
1 parent a1e9195 commit 6f246b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes_tests/test_kubernetes_pod_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def setUp(self):
'containers': [
{
'image': 'ubuntu:16.04',
'imagePullPolicy': 'IfNotPresent',
'args': ["echo 10"],
'command': ["bash", "-cx"],
'env': [],
Expand Down Expand Up @@ -857,6 +858,7 @@ def test_pod_template_file(
'env': [],
'envFrom': [],
'image': 'apache/airflow:stress-2020.07.10-1.0.4',
'imagePullPolicy': 'IfNotPresent',
'name': 'base',
'ports': [],
'resources': {'limits': {'memory': '200Mi'}, 'requests': {'memory': '100Mi'}},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def setUp(self):
'containers': [
{
'image': 'ubuntu:16.04',
'imagePullPolicy': 'IfNotPresent',
'args': ["echo 10"],
'command': ["bash", "-cx"],
'env': [],
Expand Down

0 comments on commit 6f246b0

Please sign in to comment.