Skip to content

Commit

Permalink
Add a self re-submission test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Dec 14, 2016
1 parent 7e338d7 commit 325b035
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/integration/resubmission_job_conf.xml
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<!--
- Test resubmit without a condition.
- Add variables ``time_since_queued`` and ``time_running`` to condition language.
-->
<job_conf>
Expand Down Expand Up @@ -42,7 +41,7 @@
<!-- This will fail twice and succeed on walltime reached and will fail twice and fail hard else. -->
<destination id="fail_two_attempts" runner="failure_runner">
<param id="test_param">test_value</param>
<resubmit condition="attempt &lt; 3" destination="fail_two_attempts" />
<resubmit condition="attempt &lt; 3" />
<resubmit condition="attempt == 3 and walltime_reached" destination="retry_test_generic" />
</destination>

Expand Down

0 comments on commit 325b035

Please sign in to comment.