Skip to content

Commit

Permalink
Add sleep before rmdir
Browse files Browse the repository at this point in the history
  • Loading branch information
spuiuk committed Jun 23, 2024
1 parent 0d4535e commit e816b5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testcases/loading/test_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def simple_load(self, test_start: float, test_stop: float) -> None:
# Record these errors but proceed with other operations
try:
self._clean_up()
# sleep to allow for all operations to complete.
time.sleep(5)
self.smbclient.rmdir(self.rootpath)
except (IOError, TimeoutError, ConnectionError) as error:
print(error)
Expand Down

0 comments on commit e816b5a

Please sign in to comment.