Skip to content

Commit

Permalink
Revert "tests: add blkdev checking after NS creation"
Browse files Browse the repository at this point in the history
This reverts commit c276f3d.
  • Loading branch information
ikegami-t committed Jan 28, 2025
1 parent 906791d commit c96fc93
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/nvme_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,6 @@ def create_and_validate_ns(self, nsid, nsze, ncap, flbas, dps):
err = subprocess.call(id_ns_cmd,
shell=True,
stdout=subprocess.DEVNULL)
if err == 0:
# enumerate new namespace block device
self.nvme_reset_ctrl()
# check if new namespace block device exists
err = 0 if stat.S_ISBLK(os.stat(self.ctrl + "n" + str(nsid)).st_mode) else 1
return err

def attach_ns(self, ctrl_id, nsid):
Expand Down

0 comments on commit c96fc93

Please sign in to comment.