Skip to content

Commit 0db01b1

Browse files
committed
Modified according to new updates
Signed-off-by: Surya Sameer Datta Vaddadi <f20220373@goa.bits-pilani.ac.in>
1 parent 9e4cc74 commit 0db01b1

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

kubeflow/trainer/backends/kubernetes/backend_test.py

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -726,37 +726,10 @@ def emit(self, record: logging.LogRecord) -> None: # type: ignore[override]
726726
"must_contain": [
727727
"Trainer control-plane version info is not available",
728728
"kubeflow-trainer-public",
729-
"kubeflow_trainer_version",
730729
"ConfigMap not found",
731730
],
732731
},
733-
),
734-
TestCase(
735-
name="missing data key logs warning",
736-
expected_status=SUCCESS,
737-
config={
738-
"core_api": _build_core_api_mock({}),
739-
"expect_warning": True,
740-
"must_contain": [
741-
"Trainer control-plane version info is not available",
742-
"kubeflow-trainer-public",
743-
"kubeflow_trainer_version",
744-
],
745-
},
746-
),
747-
TestCase(
748-
name="data None logs warning",
749-
expected_status=SUCCESS,
750-
config={
751-
"core_api": _build_core_api_mock(None),
752-
"expect_warning": True,
753-
"must_contain": [
754-
"Trainer control-plane version info is not available",
755-
"kubeflow-trainer-public",
756-
"kubeflow_trainer_version",
757-
],
758-
},
759-
),
732+
)
760733
],
761734
)
762735
def test_verify_backend(test_case):

0 commit comments

Comments
 (0)