Skip to content

Commit

Permalink
Merge pull request #1663 from coolo/fix_duplicate
Browse files Browse the repository at this point in the history
Refactor jobs::duplicate
  • Loading branch information
coolo committed May 28, 2018
2 parents 6193a0a + 0e1927f commit ac5f38b
Show file tree
Hide file tree
Showing 11 changed files with 403 additions and 431 deletions.
11 changes: 5 additions & 6 deletions docs/WritingTests.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ Variables are accessible via the *get_var* and *check_var* functions.
=== Capturing kernel exceptions and/or any other exceptions from the serial console

Soft and hard failures can be triggered on demand by regular expressions when they match the
serial output which is done after the test is executed. To use this functionality the test
developer needs to define the patterns to look for in the serial output either in the main.pm
or in the test itself. Any pattern change done in a test it will be reflected in the next
serial output which is done after the test is executed. To use this functionality the test
developer needs to define the patterns to look for in the serial output either in the main.pm
or in the test itself. Any pattern change done in a test it will be reflected in the next
tests.

The patterns defined in the main.pm will be valid for all the tests.
The patterns defined in the main.pm will be valid for all the tests.

[caption="Example: "]
.Defining serial exception capture in the main.pm
Expand Down Expand Up @@ -547,7 +547,7 @@ sub run {
# any job id can be queried for details with get_job_info()
# it returns a hash ref containing these keys:
# name priority state result worker_id
# retry_avbl t_started t_finished test
# t_started t_finished test
# group_id group settings
my $parent_info = get_job_info($parent_id);
Expand Down Expand Up @@ -1064,4 +1064,3 @@ avoid them by informing the shell that it is running on a 'dumb' terminal (see
the SUSE distribution's serial terminal utility library). However some
programs ignore this, but piping there output into +tee+ is usually enough to
stop them outputting non-printable characters.

1 change: 1 addition & 0 deletions lib/OpenQA/Schema.pm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use OpenQA::Utils ();

# after bumping the version please look at the instructions in the docs/Contributing.asciidoc file
# on what scripts should be run and how
# TODO: kill jobs::retry_avbl on next bump
our $VERSION = 63;

__PACKAGE__->load_namespaces;
Expand Down
Loading

0 comments on commit ac5f38b

Please sign in to comment.