Salome HOME
Fixed another bug with threads in BatchManager_Local: no more segfault when destroyin...
[tools/libbatch.git] / src / Local / Test / Test_Local_SSH.cxx
index d216954e94f7699f0406782a42c2c709c7ec0252..9db89170df071dd36c09069886d58475e17213d4 100644 (file)
@@ -65,7 +65,6 @@ int main(int argc, char** argv)
     const string & exechost = parser.getValue("TEST_LOCAL_SSH_EXECUTION_HOST");
     const string & user = parser.getValue("TEST_LOCAL_SSH_USER");
     int timeout = parser.getValueAsInt("TEST_LOCAL_SSH_TIMEOUT");
-    int finalizationTime = parser.getValueAsInt("TEST_LOCAL_SSH_FINALIZATION_TIME");
 
     // Define the job...
     Job job;
@@ -119,10 +118,6 @@ int main(int argc, char** argv)
 
     cout << "Job " << jobid.__repr__() << " is done" << endl;
 
-    // wait for the copy of output files and the cleanup
-    // (there's no cleaner way to do that yet)
-    sleep(finalizationTime);
-
   } catch (GenericException e) {
     cerr << "Error: " << e << endl;
     return 1;