-
Notifications
You must be signed in to change notification settings - Fork 45
[Enabler][zos_blockinfile]Add_documentation_of_false_negatives_and_ensure_proper_testing #2025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enabler][zos_blockinfile]Add_documentation_of_false_negatives_and_ensure_proper_testing #2025
Conversation
richp405
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving, but strongly recommend to re-work the commend in zos_blockinfile.py.
plugins/modules/zos_blockinfile.py
Outdated
| - When more then one block should be handled in a file you must change | ||
| the I(marker) per task. | ||
| - When working with a backup of a sequential dataset to avoid false positive | ||
| backup name should be a sequential dataset too, not a member of pds or pdse. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wording is challenging. I'd suggest something like:
"When working with a backup of a sequential dataset, the backup name should also be a sequential dataset. This will avoid the false positive and error condition during backup. "
The comma, reordering, and eliminating the word 'too' should help make this more readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with Rich
plugins/modules/zos_blockinfile.py
Outdated
| - When more then one block should be handled in a file you must change | ||
| the I(marker) per task. | ||
| - When working with a backup of a sequential dataset to avoid false positive | ||
| backup name should be a sequential dataset too, not a member of pds or pdse. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with Rich
fernandofloresg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
SUMMARY
Previous we have some false positives cases with backup, to avoid false positives and verify the proper work of the module is required to add the backup validation, fixing #629, but open a new issue been #2024 to work on a specific problem of backups, if the backup required to be same time as the original MVS or could be SEQ with PDS, meanwhile, add to the documentation how avoid false positives.
ISSUE TYPE
COMPONENT NAME
Verify the type of backup is use and verify the content of the backup.

