Skip to content

Commit d2f99c0

Browse files
fix: Resolved bug for setJobAttributes
1 parent fe09e19 commit d2f99c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/WorkloadManagementSystem/Test_Client_WMS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def test_JobStateUpdateAndJobMonitoringMultiple(lfn: str) -> None:
444444
assert res["Value"]["Status"] == JobStatus.MATCHED
445445
assert res["Value"]["MinorStatus"] == "MinorStatus-matched"
446446

447-
res = jobStateUpdateClient.setJobAttribute(jobID, "Status", JobStatus.RUNNING)
447+
res = jobStateUpdateClient.setJobStatus(jobID, JobStatus.RUNNING)
448448
assert res["OK"], res["Message"]
449449

450450
res = jobMonitoringClient.getJobSummary(int(jobID))

0 commit comments

Comments
 (0)