Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR][NOTEST] - Logfile configuration with new disk #9944

Merged
merged 1 commit into from
Mar 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions cfme/tests/cli/test_appliance_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -1718,3 +1718,32 @@ def test_appliance_console_vmdb_log_negative(temp_appliance_preconfig_funcscope)
assert "Validated failed with error" in result[-1], "Database Configuration is not failed"

ap_console_tail.validate(wait="60s")


@pytest.mark.tier(0)
@pytest.mark.manual
dgaikwad marked this conversation as resolved.
Show resolved Hide resolved
@pytest.mark.meta(coverage=[1720223])
def test_appliance_console_logfile_config_reboot():
"""
test to verify logfiles disk
Bugzilla:
1720223

dgaikwad marked this conversation as resolved.
Show resolved Hide resolved
Polarion:
assignee: dgaikwad
casecomponent: Appliance
initialEstimate: 1/4h
testSteps:
1. get appliance with extra disk
2. set "logfile configuration"
3. set "Harden Appliance Using SCAP Configuration"
4. reboot appliance
Comment on lines +1737 to +1740
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this could be a part of the setup and 'Execute df -h command and check log files for new disk' or something like that could be a testStep.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added df -h to testSteps and reboot appliance is not setup part, it is just one step of test case,

5. use "df -h" command and check result
expectedResults:
1.
2.
3.
4.
5. logfiles should use new disk
"""
dgaikwad marked this conversation as resolved.
Show resolved Hide resolved
pass