Ignore:
Timestamp:
Apr 10, 2018, 6:42:56 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
Children:
a5c293
Parents:
456f19
git-author:
Frederik Heber <frederik.heber@…> (04/07/18 21:09:55)
git-committer:
Frederik Heber <frederik.heber@…> (04/10/18 06:42:56)
Message:

FIX: Integration tests now abort safely when one of the programs dies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/integration/StructureOptimization/testsuite-integration-structureoptimization-methane.at

    r456f19 r1e58bb  
    3535# enlist a worker to work on jobs
    3636../../molecuilder_poolworker -v 5 --server 127.0.0.1:${WORKERPORT} --hostname 127.0.0.1 --listen $WORKERLISTENPORT &
    37 worker_script_pid=$!
    38 worker_pid=`ps -ef | grep molecuilder_poolworker | grep $worker_script_pid | awk '{print $2}'`
     37worker_pid=$!
    3938AT_CHECK([sleep 2], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    4039AT_CHECK([kill -s 0 $worker_pid], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
Note: See TracChangeset for help on using the changeset viewer.