Skip to content

Commit 4efbfdf

Browse files
Revert "Updated unit test for user labels"
This reverts commit 56479d1.
1 parent 56479d1 commit 4efbfdf

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Diff for: tests/test-case-no-mcad.yamls

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ metadata:
55
labels:
66
controller-tools.k8s.io: '1.0'
77
kueue.x-k8s.io/queue-name: local-queue-default
8-
testlabel: test
9-
testlabel2: test
108
name: unit-test-cluster-ray
119
namespace: ns
1210
spec:

Diff for: tests/unit_test.py

-3
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ def test_cluster_creation_no_mcad(mocker):
324324
config.name = "unit-test-cluster-ray"
325325
config.write_to_file = True
326326
config.mcad = False
327-
config.user_labels = {"testlabel": "test", "testlabel2": "test"}
328327
cluster = Cluster(config)
329328

330329
assert cluster.app_wrapper_yaml == f"{aw_dir}unit-test-cluster-ray.yaml"
@@ -349,7 +348,6 @@ def test_cluster_creation_no_mcad_local_queue(mocker):
349348
config.mcad = False
350349
config.write_to_file = True
351350
config.local_queue = "local-queue-default"
352-
config.user_labels = {"testlabel": "test", "testlabel2": "test"}
353351
cluster = Cluster(config)
354352
assert cluster.app_wrapper_yaml == f"{aw_dir}unit-test-cluster-ray.yaml"
355353
assert cluster.app_wrapper_name == "unit-test-cluster-ray"
@@ -375,7 +373,6 @@ def test_cluster_creation_no_mcad_local_queue(mocker):
375373
write_to_file=True,
376374
mcad=False,
377375
local_queue="local-queue-default",
378-
user_labels={"testlabel": "test", "testlabel2": "test"},
379376
)
380377
cluster = Cluster(config)
381378
assert cluster.app_wrapper_yaml == f"{aw_dir}unit-test-cluster-ray.yaml"

0 commit comments

Comments
 (0)