Make job_manage available cpu time test more robust

Merged
#84 · Created  · Last updated

Merged pull request

Merged in bugfix/job-manage-time-increase (pull request #84)

62a821f·Author: ·Closed by: ·2019-02-21

Description

The job_manage_avail_time test checks that gs2 exits when the time elapsed exceeds avail_cpu_time. This test used to check that gs2 exited “reasonably soon” after the available time ran out, but sporadically failed as “reasonably soon” varies from machine to machine.

 

In this PR, the test no longer times how long it takes to exit; instead it checks:

  1. that time elapsed exceeds avail_cpu_time; and

  2. that fewer than `nstep` timesteps have been completed

0 attachments

0 comments

Loading commits...