Skip to content

Commit 7a9dba5

Browse files
committed
t/client-server: basic client/server test script
Currently there are only two sets of test cases: - check that fio correctly handles the global options dictionary in the JSON output with one or more servers with job files with and without global sections. - check that the [s,c]lat_percentiles options work for the "All clients" summary data. Signed-off-by: Vincent Fu <[email protected]>
1 parent 139b3be commit 7a9dba5

File tree

8 files changed

+576
-0
lines changed

8 files changed

+576
-0
lines changed

t/client_server.py

Lines changed: 505 additions & 0 deletions
Large diffs are not rendered by default.

t/client_server/test01.fio

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[global]
2+
ioengine=null
3+
time_based
4+
runtime=3s
5+
filesize=1T
6+
7+
[test1]
8+
description=test1
9+
10+
[test2]
11+
description=test2
12+
13+
[test3]
14+
description=test3

t/client_server/test04-noglobal.fio

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[test1]
2+
description=test1
3+
ioengine=null
4+
time_based
5+
runtime=3s
6+
filesize=1T
7+
8+
[test2]
9+
description=test2
10+
ioengine=null
11+
time_based
12+
runtime=3s
13+
filesize=1T
14+
15+
[test3]
16+
description=test3
17+
ioengine=null
18+
time_based
19+
runtime=3s
20+
filesize=1T

t/client_server/test07-slat.fio

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[test]
2+
ioengine=null
3+
iodepth=2
4+
filesize=1T
5+
time_based
6+
runtime=3s
7+
slat_percentiles=1

t/client_server/test08-clat.fio

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[test]
2+
ioengine=null
3+
iodepth=2
4+
filesize=1T
5+
time_based
6+
runtime=3s
7+
clat_percentiles=1

t/client_server/test09-lat.fio

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[test]
2+
ioengine=null
3+
iodepth=2
4+
filesize=1T
5+
time_based
6+
runtime=3s
7+
lat_percentiles=1

t/client_server/test10-noclat.fio

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[test]
2+
ioengine=null
3+
iodepth=2
4+
filesize=1T
5+
time_based
6+
runtime=3s
7+
clat_percentiles=0

t/client_server/test11-alllat.fio

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[test]
2+
ioengine=null
3+
iodepth=2
4+
filesize=1T
5+
time_based
6+
runtime=3s
7+
slat_percentiles=1
8+
clat_percentiles=1
9+
lat_percentiles=1

0 commit comments

Comments
 (0)