Skip to content

Commit e138f51

Browse files
committed
tests: change to wait 10 seconds for attacing namespace
Since failed by waiting 5 seconds timeout. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent bea1cf0 commit e138f51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/nvme_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ def attach_ns(self, ctrl_id, nsid):
428428
if err != 0:
429429
return err
430430

431-
# Try to find block device for 5 seconds
431+
# Try to find block device for 10 seconds
432432
device_path = f"{self.ctrl}n{str(nsid)}"
433-
stop_time = time.time() + 5
433+
stop_time = time.time() + 10
434434
while time.time() < stop_time:
435435
if os.path.exists(device_path) and stat.S_ISBLK(os.stat(device_path).st_mode):
436436
return 0

0 commit comments

Comments
 (0)