Changeset 599eca


Ignore:
Timestamp:
Mar 2, 2017, 1:58:26 PM (8 years ago)
Author:
Frederik Heber <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.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_ChronosMutex, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, 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, JobMarket_unresolvable_hostname_fix, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, RotateToPrincipalAxisSystem_UndoRedo, StoppableMakroAction, Subpackage_levmar, Subpackage_vmg, ThirdParty_MPQC_rebuilt_buildsystem, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, Ubuntu_1604_changes, stable
Children:
406123
Parents:
b7e5b0
git-author:
Frederik Heber <heber@…> (02/15/17 09:34:51)
git-committer:
Frederik Heber <heber@…> (03/02/17 13:58:26)
Message:

FIX: Modified integration test automated fragmentation.

  • bind address was often in use, now using ports in a different range than all the other tests.
  • checking whether server and worker were started correctly by using kill -s 0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/integration/testsuite-integration-mpqc-jobs.at

    rb7e5b0 r599eca  
    2323
    2424# check that ports are unique over all tests such that they may run in parallel
    25 WORKERPORT=1060
    26 CONTROLLERPORT=1061
    27 WORKERLISTENPORT=1062
     25WORKERPORT=2020
     26CONTROLLERPORT=2021
     27WORKERLISTENPORT=2022
    2828
    2929# start service in background
    3030${AUTOTEST_PATH}/Server --workerport $WORKERPORT --controllerport $CONTROLLERPORT &
    3131server_pid=$!
    32 AT_CHECK([sleep 1], 0, [ignore], [ignore], [kill $server_pid])
     32AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid])
     33AT_CHECK([kill -s 0 $server_pid], 0, [ignore], [ignore], [kill $server_pid])
    3334
    3435# enlist a worker to work on jobs
    3536../../molecuilder_mpqc +v 5 ++signal 2 ++server 127.0.0.1:${WORKERPORT} ++hostname 127.0.0.1 ++listen $WORKERLISTENPORT &
    3637worker_pid=$!
    37 AT_CHECK([sleep 5], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
     38AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
     39AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    3840
    3941# create jobs via molecuilder
Note: See TracChangeset for help on using the changeset viewer.