Skip to content

Commit

Permalink
fix dirty cleanup order problem on some systems
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed May 13, 2019
1 parent 9b09b19 commit 6681d6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pipeline_manager/test_pipeline_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def test_me(self):

# In global dirty mode, even non-manual clean files should not be deleted:
self.pp.dirty = True
self.pp.clean_add(tgt3)
self.pp.clean_add(pipeline_filepath(self.pp, filename="*.temp"))
self.pp.clean_add(tgt4)
self.pp.clean_add(tgt5, conditional=True)
Expand Down Expand Up @@ -215,8 +216,8 @@ def test_me(self):


self.assertTrue(lines[2] == 'rm tgt3.temp\n')
self.assertTrue(lines[9] == 'rm tgt6.txt\n')
self.assertTrue(lines[10] == 'rm tgt6.txt\n')
self.assertTrue(lines[11] == 'rm tgt6.txt\n')



Expand Down

0 comments on commit 6681d6d

Please sign in to comment.