Skip to content

Commit

Permalink
t/nvmept_trim: increase transfer size for some tests
Browse files Browse the repository at this point in the history
The final sequence of tests uses a block size of 4096 bytes. This can be
slow enough on some platforms to trigger a 10-minute timeout. Increase
the block size to 256K to reduce the run time.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
  • Loading branch information
vincentkfu committed Apr 25, 2024
1 parent 349bbcb commit 6a9a9bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/nvmept_trim.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ def check_result(self):
"output-format": 'json',
"buffer_pattern": 0x0f,
"size": 256*1024*1024,
"bs": 256*1024,
},
"test_class": TrimTest,
},
Expand All @@ -481,6 +482,7 @@ def check_result(self):
"verify_pattern": 0x0f,
"verify": "pattern",
"size": 256*1024*1024,
"bs": 256*1024,
},
"test_class": TrimTest,
},
Expand All @@ -491,6 +493,7 @@ def check_result(self):
"num_range": 8,
"output-format": 'json',
"size": 128*1024*1024,
"bs": 256*1024,
},
"test_class": TrimTest,
},
Expand All @@ -511,6 +514,7 @@ def check_result(self):
"verify_pattern": 0x0f,
"verify": "pattern",
"size": 128*1024*1024,
"bs": 256*1024,
},
"test_class": TrimTest,
"success": SUCCESS_NONZERO,
Expand All @@ -524,6 +528,7 @@ def check_result(self):
"verify": "pattern",
"offset": 128*1024*1024,
"size": 128*1024*1024,
"bs": 256*1024,
},
"test_class": TrimTest,
},
Expand Down

0 comments on commit 6a9a9bd

Please sign in to comment.