Skip to content

Commit

Permalink
add testing section for job events
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemcdermott committed Aug 10, 2018
1 parent e1b7e7f commit 0c3d6e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/job_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ playbook_on_play_start-install
runner_on_ok_hostA (install_tower)
```

## Testing
A management command for event replay exists for replaying jobs at varying speeds and other parameters. Run `awx-manage replay_job_events --help` for additional usage information. To prepare the UI for event replay, load the page for a finished job and then append `_debug` as a parameter to the url.

## Code References
* More comprehensive list of Job Events and the hierarchy they form https://github.com/ansible/awx/blob/devel/awx/main/models/jobs.py#L870
* Exhaustive list of Job Events in Tower https://github.com/ansible/awx/blob/devel/awx/main/models/jobs.py#L900

0 comments on commit 0c3d6e7

Please sign in to comment.