From db2c3e518c4322b079b0fbe94e626443f29db221 Mon Sep 17 00:00:00 2001 From: Tokunori Ikegami Date: Wed, 29 Jan 2025 00:00:54 +0900 Subject: [PATCH] Revert "tests: add blkdev checking after NS creation" This reverts commit c276f3ddd780c55458e509b74d80633728828950. The namespace will be created but not yet attached, thus the block device is not created either. Signed-off-by: Tokunori Ikegami [wagi: added commit message] Signed-off-by: Daniel Wagner --- tests/nvme_test.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/nvme_test.py b/tests/nvme_test.py index 306e5b39..6b231e43 100644 --- a/tests/nvme_test.py +++ b/tests/nvme_test.py @@ -392,11 +392,6 @@ class TestNVMe(unittest.TestCase): 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): -- 2.50.1