Skip to content
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

Sync the cached filesystem and solve the timeout issue #7124

Merged
merged 1 commit into from Mar 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/console/validate_lvm_encrypt.pm
Expand Up @@ -76,7 +76,9 @@ sub run {
assert_script_run 'df -h | tee original_usage';
assert_script_run "dd if=/dev/zero of=$test_file count=1024 bs=1M";
assert_script_run "ls -lah $test_file";
script_retry "diff <(cat original_usage) <(df -h)", delay => 3, retry => 5, expect => 1;
if ((script_run "sync && diff <(cat original_usage) <(df -h)") != 1) {
b10n1k marked this conversation as resolved.
Show resolved Hide resolved
die "LVM usage stats do not differ!";
}

record_info('INFO', 'Check partitions');
if (get_var('NAME') =~ m/separate/) {
Expand Down