Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing the file counting code in the tests.
The logging test playbooks checks the generated rsyslog config file count first to capture the failure at the early stage. The count could be influenced by the other applications which put its config file in /etc/rsyslog.d. The extra count was considered, but it was not strict enough to reduce the error. Since the config file name generated by the logging role starts with '[0-9][0-9]-', thus adding it to the find patterns to make the generated file count more accurate. Note: Most additional config files do not start with '[0-9][0-9]-', but there is an exception 21-cloudinit.conf.
- Loading branch information