Skip to content

Commit de6c873

Browse files
committed
fix: updated test calls
1 parent f8cc981 commit de6c873

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Integration/WorkloadManagementSystem/Test_Client_WMS.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,11 @@ def test_JobStateUpdateAndJobMonitoring() -> None:
289289
# forcing the update
290290
res = jobStateUpdateClient.setJobStatus(jobID, JobStatus.RUNNING, "running", "source", None, True)
291291
assert res["OK"], res["Message"]
292-
res = jobStateUpdateClient.setJobParameters(jobID, [("par1", "par1Value"), ("par2", "par2Value")])
292+
res = jobStateUpdateClient.setJobParameters(jobID, [("CPUNormalizationFactor", 10), ("HostName", "hlt123")])
293+
assert res["OK"], res["Message"]
294+
res = jobStateUpdateClient.setJobParameter(jobID, "Pilot_Reference", "https://pilot.reference.com/123456")
295+
assert res["OK"], res["Message"]
296+
res = jobStateUpdateClient.setJobAttribute(jobID, "ApplicationStatus", "some_app_status")
293297
assert res["OK"], res["Message"]
294298
res = jobStateUpdateClient.setJobApplicationStatus(jobID, "app status", "source")
295299
assert res["OK"], res["Message"]

0 commit comments

Comments
 (0)