Skip to content

Commit 902406b

Browse files
committed
remove unnecessary write check
1 parent cdee97d commit 902406b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

cuda_bindings/tests/test_cufile.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,13 +1527,6 @@ def test_batch_io_large_operations():
15271527
ctypes.addressof(timeout),
15281528
)
15291529

1530-
# Verify writes succeeded
1531-
for i in range(nr_completed_writes.value):
1532-
assert io_events[i].status == cufile.Status.COMPLETE, f"Write {i} failed with status {io_events[i].status}"
1533-
1534-
# Force file sync
1535-
os.fsync(fd)
1536-
15371530
# Clean up write batch
15381531
cufile.batch_io_destroy(batch_handle)
15391532

0 commit comments

Comments
 (0)