Skip to content
Snippets Groups Projects
Commit 2bdd9883 authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

change id

parent 18608837
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ public class TestCommunicationWithNodes { ...@@ -33,7 +33,7 @@ public class TestCommunicationWithNodes {
Settings settings = SettingsProvider.getSettings(6l, 3600, 7l, "OPEN-12-20", Settings settings = SettingsProvider.getSettings(6l, 3600, 7l, "OPEN-12-20",
TestingConstants.CONFIGURATION_FILE_NAME); TestingConstants.CONFIGURATION_FILE_NAME);
HaaSClient client = new HaaSClient(settings); HaaSClient client = new HaaSClient(settings);
long id = 363;//startJob(client); long id = 362;//startJob(client);
String sessionID = client.getSessionID(); String sessionID = client.getSessionID();
log.info(id + " - " + client.obtainJobInfo(id).getState() + " - " + sessionID); log.info(id + " - " + client.obtainJobInfo(id).getState() + " - " + sessionID);
if(client.obtainJobInfo(id).getState() != JobState.Running && client.obtainJobInfo(id).getState() != JobState.Queued) { if(client.obtainJobInfo(id).getState() != JobState.Running && client.obtainJobInfo(id).getState() != JobState.Queued) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment