Skip to content

Commit

Permalink
t/nvmept: add check for iodepth
Browse files Browse the repository at this point in the history
Make sure that we achieve the iodepth specified in the job options.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
  • Loading branch information
vincentkfu committed Jul 5, 2023
1 parent 7f57e30 commit 8604be0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t/nvmept.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ def check_result(self):
print(f"Unhandled rw value {self.fio_opts['rw']}")
self.passed = False

if job['iodepth_level']['8'] < 95:
print("Did not achieve requested iodepth")
self.passed = False


TEST_LIST = [
{
Expand Down

0 comments on commit 8604be0

Please sign in to comment.