mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #36664 from cachedout/remove_useless_size_check
Remove possible race between grains dumps in test
This commit is contained in:
commit
e4c5d0bfd6
@ -417,8 +417,6 @@ class CallTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
|
||||
stat3 = os.stat(output_file)
|
||||
# Mode must have changed since we're creating a new log file
|
||||
self.assertNotEqual(stat1.st_mode, stat3.st_mode)
|
||||
# Data was appended to file
|
||||
self.assertEqual(stat1.st_size, stat3.st_size)
|
||||
finally:
|
||||
if os.path.exists(output_file):
|
||||
os.unlink(output_file)
|
||||
|
Loading…
Reference in New Issue
Block a user