Skip to content

Commit

Permalink
Unblock classic KubeCluster CI (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed May 18, 2023
1 parent c8d408e commit ada3a2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions dask_kubernetes/classic/kubecluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

class Pod(ProcessInterface):
"""A superclass for Kubernetes Pods
See Also
--------
Worker
Expand Down
4 changes: 3 additions & 1 deletion dask_kubernetes/classic/tests/test_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import random
from time import time
import yaml
import sys

import kubernetes_asyncio as kubernetes
import pytest
Expand Down Expand Up @@ -824,6 +825,7 @@ async def get_worker_pods():


@pytest.mark.asyncio
@pytest.mark.xfail(reason="Failing in CI with FileNotFoundError")
async def test_auto_refresh(cluster):
config = {
"apiVersion": "v1",
Expand Down Expand Up @@ -853,7 +855,7 @@ async def test_auto_refresh(cluster):
"config": {
"access-token": "",
"cmd-args": "--fake-arg arg",
"cmd-path": f"python {TEST_DIR}/fake_gcp_auth.py",
"cmd-path": f"{sys.executable} {TEST_DIR}/fake_gcp_auth.py",
"expiry": "",
"expiry-key": "{.credential.token_expiry}",
"toekn-key": "{.credential.access_token}",
Expand Down

0 comments on commit ada3a2d

Please sign in to comment.