Ignore:
Timestamp:
May 12, 2017, 9:15:04 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_oldresults, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, GeometryObjects, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps
Children:
9a9f847
Parents:
2945e6
git-author:
Frederik Heber <frederik.heber@…> (05/12/17 17:32:27)
git-committer:
Frederik Heber <frederik.heber@…> (05/12/17 21:15:04)
Message:

Ports used by regression tests are now between 11000 and 11999.

  • also changed comments in falsehost test and increased sleep to 4 to match with Server's timeout.
Location:
ThirdParty/JobMarket/tests/regression
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/JobMarket/tests/regression/testsuite-addingjobs.at

    r2945e6 r51a013  
    55
    66# check that ports are unique over all tests such that they may run in parallel
    7 WORKERPORT=1035
    8 CONTROLLERPORT=1036
    9 WORKERLISTENPORT=1037
     7WORKERPORT=11035
     8CONTROLLERPORT=11036
     9WORKERLISTENPORT=11037
    1010
    1111# start service in background
  • ThirdParty/JobMarket/tests/regression/testsuite-checkalive.at

    r2945e6 r51a013  
    44AT_KEYWORDS([fragmentation automation controller poolworker server checkalive])
    55
    6 WORKERPORT=1075
    7 CONTROLLERPORT=1076
    8 WORKERLISTENPORT=1077
     6WORKERPORT=11075
     7CONTROLLERPORT=11076
     8WORKERLISTENPORT=11077
    99
    1010TIMEOUT=3
  • ThirdParty/JobMarket/tests/regression/testsuite-checkstate.at

    r2945e6 r51a013  
    55
    66# check that ports are unique over all tests such that they may run in parallel
    7 WORKERPORT=1040
    8 CONTROLLERPORT=1041
     7WORKERPORT=11040
     8CONTROLLERPORT=11041
    99
    1010# start service in background
  • ThirdParty/JobMarket/tests/regression/testsuite-completerun.at

    r2945e6 r51a013  
    55
    66# check that ports are unique over all tests such that they may run in parallel
    7 WORKERPORT=1050
    8 CONTROLLERPORT=1051
    9 WORKERLISTENPORT=1052
     7WORKERPORT=11050
     8CONTROLLERPORT=11051
     9WORKERLISTENPORT=11052
    1010
    1111# start service in background
  • ThirdParty/JobMarket/tests/regression/testsuite-enrollinpool.at

    r2945e6 r51a013  
    44AT_KEYWORDS([fragmentation automation controller poolworker server shutdown])
    55
    6 WORKERPORT=1055
    7 CONTROLLERPORT=1056
    8 WORKERLISTENPORT=1057
     6WORKERPORT=11055
     7CONTROLLERPORT=11056
     8WORKERLISTENPORT=11057
    99
    1010# start service in background
  • ThirdParty/JobMarket/tests/regression/testsuite-falsehost.at

    r2945e6 r51a013  
    44AT_KEYWORDS([fragmentation automation controller poolworker server falsehost])
    55
    6 WORKERPORT=1080
    7 CONTROLLERPORT=1081
    8 WORKERLISTENPORT=1082
     6WORKERPORT=11080
     7CONTROLLERPORT=11081
     8WORKERLISTENPORT=11082
    99
    1010TIMEOUT=3
     
    2020AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    2121
    22 # remove worker
     22# remove worker: server will fail to resolve hostname and remove address from  pool
    2323AT_CHECK([${AUTOTEST_PATH}/JobMarketController --server 127.0.0.1:$CONTROLLERPORT --command removeall], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    24 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
     24AT_CHECK([sleep 4], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    2525AT_CHECK([kill -s 0 $server_pid], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    2626AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    2727
    28 # shutdown server, should now terminate as no workers are left
     28# shutdown server, should terminate as no workers are left
    2929AT_CHECK([${AUTOTEST_PATH}/JobMarketController --server 127.0.0.1:$CONTROLLERPORT --command shutdown], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    3030
     
    3232AT_CHECK([kill $worker_pid], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    3333
    34 # check that Server is truely down
     34# check that Server is truly down
    3535AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    36 AT_CHECK([kill $server_pid $worker_pid], 1, [ignore], [ignore])
     36AT_CHECK([kill $server_pid], 1, [ignore], [ignore], [kill $worker_pid])
     37AT_CHECK([kill $worker_pid], 1, [ignore], [ignore])
    3738
    3839AT_CLEANUP
  • ThirdParty/JobMarket/tests/regression/testsuite-getresults.at

    r2945e6 r51a013  
    55
    66# check that ports are unique over all tests such that they may run in parallel
    7 WORKERPORT=1045
    8 CONTROLLERPORT=1046
     7WORKERPORT=11045
     8CONTROLLERPORT=11046
    99
    1010# start service in background
  • ThirdParty/JobMarket/tests/regression/testsuite-resubmitjobs.at

    r2945e6 r51a013  
    55
    66# check that ports are unique over all tests such that they may run in parallel
    7 WORKERPORT=1070
    8 CONTROLLERPORT=1071
    9 WORKERLISTENPORT=1072
     7WORKERPORT=11070
     8CONTROLLERPORT=11071
     9WORKERLISTENPORT=11072
    1010
    1111# start service in background
  • ThirdParty/JobMarket/tests/regression/testsuite-server-shutdown.at

    r2945e6 r51a013  
    55
    66# check that ports are unique over all tests such that they may run in parallel
    7 WORKERPORT=1030
    8 CONTROLLERPORT=1031
     7WORKERPORT=11030
     8CONTROLLERPORT=11031
    99
    1010# start service in background
  • ThirdParty/JobMarket/tests/regression/testsuite-server-worker.at

    r2945e6 r51a013  
    55
    66# check that ports are unique over all tests such that they may run in parallel
    7 WORKERPORT=1025
    8 CONTROLLERPORT=1026
    9 WORKERLISTENPORT=1027
     7WORKERPORT=11025
     8CONTROLLERPORT=11026
     9WORKERLISTENPORT=11027
    1010
    1111# start service in background
Note: See TracChangeset for help on using the changeset viewer.