Skip to content

Commit

Permalink
remove travis special handling from tests since we're not longer usin…
Browse files Browse the repository at this point in the history
…g it
  • Loading branch information
rpodgorny committed Jun 16, 2024
1 parent 94550ab commit 6f0a779
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,7 @@ def tearDown(self):
# when trying to lock the fuse lock file.

if self.mounted:
if os.environ.get('RUNNING_ON_TRAVIS_CI'):
# TODO: investigate the following
# the sleep seems to be needed for some users or else the umount fails
# anyway, everything works fine on my system, so why wait? ;-)
# if it fails for someone, let's find the race and fix it!
# actually had to re-enable it because travis-ci is one of the bad cases
time.sleep(1)

call('umount union')
elif platform.system() == 'Darwin':
if platform.system() == 'Darwin':
call('umount %s' % self.mount_device)
else:
call('fusermount -u union')
Expand Down

0 comments on commit 6f0a779

Please sign in to comment.