gh-138122: Fix permission error detection in tachyon's test (#141897)

This commit is contained in:
Pablo Galindo Salgado 2025-11-24 14:32:17 +00:00 committed by GitHub
parent 0387a8e0f7
commit 04e3670f6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -724,7 +724,7 @@ def test_script_error_treatment(self):
) )
output = result.stdout + result.stderr output = result.stdout + result.stderr
if "Permission Error" in output: if "PermissionError" in output:
self.skipTest("Insufficient permissions for remote profiling") self.skipTest("Insufficient permissions for remote profiling")
self.assertNotIn("Script file not found", output) self.assertNotIn("Script file not found", output)
self.assertIn( self.assertIn(