-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t/jobs/t0034: add test for the log_issue_time option
Add a test to check the newly added option 'log_issue_time'. Generate log files using the option and check that lines in the log files have the format described in the "Log File Format" section in HOWTO.rst. This test case has the logic same as t0033 except the log file names and matching patterns. Factor out the logic to the new class FioJobFileTest_LogFileFormat. Signed-off-by: Shin'ichiro Kawasaki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vincent Fu <[email protected]>
- Loading branch information
1 parent
8b0018e
commit 20d0ba8
Showing
2 changed files
with
68 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[global] | ||
rw=read | ||
filename=t0034file | ||
size=8k | ||
time_based | ||
runtime=2s | ||
ioengine=libaio | ||
iodepth=1 | ||
|
||
[job1] | ||
write_lat_log=log | ||
log_offset=1 | ||
log_issue_time=1 | ||
|
||
[job2] | ||
write_lat_log=log | ||
log_offset=1 | ||
log_issue_time=1 | ||
log_avg_msec=100 | ||
log_window_value=both | ||
|
||
[job3] | ||
write_lat_log=log | ||
write_bw_log=log | ||
write_iops_log=log | ||
log_offset=1 | ||
log_issue_time=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters