Skip to content

Commit

Permalink
Fix client creation in test
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich committed Sep 8, 2023
1 parent 1fd7407 commit 3b94942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/python/test/e2e/test_e2e_mxjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
logging.basicConfig(format="%(message)s")
logging.getLogger().setLevel(logging.INFO)

TRAINING_CLIENT = TrainingClient(constants.MXJOB_KIND)
TRAINING_CLIENT = TrainingClient(job_kind=constants.MXJOB_KIND)
JOB_NAME = "mxjob-mnist-ci-test"
CONTAINER_NAME = "mxnet"
GANG_SCHEDULER_NAME = os.getenv(TEST_GANG_SCHEDULER_NAME_ENV_KEY, "")
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/e2e/test_e2e_tfjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
logging.basicConfig(format="%(message)s")
logging.getLogger().setLevel(logging.INFO)

TRAINING_CLIENT = TrainingClient(constants.TFJOB_KIND)
TRAINING_CLIENT = TrainingClient(job_kind=constants.TFJOB_KIND)
JOB_NAME = "tfjob-mnist-ci-test"
CONTAINER_NAME = "tensorflow"
GANG_SCHEDULER_NAME = os.getenv(TEST_GANG_SCHEDULER_NAME_ENV_KEY, "")
Expand Down

0 comments on commit 3b94942

Please sign in to comment.