Skip to content

Commit

Permalink
test: don't forget to increse ulimit for opened files
Browse files Browse the repository at this point in the history
Signed-off-by: Ruslan Kuprieiev <[email protected]>
  • Loading branch information
efiop committed Apr 9, 2018
1 parent 8839e72 commit c4d3aac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
if os.name == 'nt':
import win32file
win32file._setmaxstdio(2048)
else:
import resource
resource.setrlimit(resource.RLIMIT_NOFILE, (2048, 2048))

0 comments on commit c4d3aac

Please sign in to comment.