ligurio / unreliablefs

A FUSE-based fault injection filesystem.
https://ligurio.github.io/unreliablefs/unreliablefs.1.html
MIT License
174 stars 9 forks source link

test_truncate_fd() is broken #38

Closed ligurio closed 3 years ago

ligurio commented 3 years ago
Traceback (most recent call last):                                                                                                                
  File "/home/sergeyb/sources/unreliablefs/tests/test_unreliablefs.py", line 325, in test_truncate_fd                                             
    assert fh.read(size) == TEST_DATA                                                                                                             
  File "/usr/lib/python3.8/tempfile.py", line 613, in func_wrapper                                                                                
    return func(*args, **kwargs)                                                                                                                  
OSError: [Errno 9] Bad file descriptor