[hotfix] Autoscaler's K8 support (#10766)

Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
Alex Wu
2020-09-13 16:43:57 -07:00
committed by GitHub
parent 00fefba72c
commit 9795356ac0
2 changed files with 4 additions and 4 deletions
+1 -4
View File
@@ -125,10 +125,7 @@ def test_kubernetes_command_runner():
"""\'true && source ~/.bashrc && export OMP_NUM_THREADS=1 PYTHONWARNINGS=ignore && (export var1=\'"\'"\'"quote between this \\" and this"\'"\'"\';export var2=\'"\'"\'"123"\'"\'"\';echo helloo)\'""" # noqa: E501
]
# Much easier to debug this loop than the function call.
for x, y in zip(process_runner.calls[0], expected):
assert x == y
process_runner.assert_has_call("1.2.3.4", exact=expected)
assert process_runner.calls[0] == " ".join(expected)
def test_docker_command_runner():