Skip to content

Commit 35b083c

Browse files
committed
Imitate reproducing test as closely as possible
Signed-off-by: mulhern <amulhern@redhat.com>
1 parent c08b452 commit 35b083c

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

stratisd_cert.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,16 +1046,18 @@ def test_filesystem_mount_and_write(self):
10461046
os.path.join("/", "dev", "stratis", pool_name, fs_name)
10471047
)
10481048

1049-
subprocess.check_call(
1050-
[
1051-
"dd",
1052-
"if=/dev/urandom",
1053-
f'of={os.path.join(mountpoint, "file1")}',
1054-
"bs=4096",
1055-
"count=256",
1056-
"conv=fsync",
1057-
]
1058-
)
1049+
for seek in range(7):
1050+
subprocess.check_call(
1051+
[
1052+
"dd",
1053+
"if=/dev/urandom",
1054+
f'of={os.path.join(mountpoint, "file1")}',
1055+
"bs=4096",
1056+
"count=32",
1057+
f"seek={seek*32}",
1058+
"conv=fsync",
1059+
]
1060+
)
10591061

10601062
def test_get_report(self):
10611063
"""

0 commit comments

Comments
 (0)