diff options
author | 2020-11-20 22:29:47 +0100 | |
---|---|---|
committer | 2020-11-20 22:40:24 +0100 | |
commit | 18ab777eef3045421f4df3b127079833a8c3cbe5 (patch) | |
tree | 63ce337e55ed87908ab3ec525f1ca231b8759b51 /tests/test_nsjail.py | |
parent | Increase number of characters in each read chunk (diff) |
Use SIGKILL instead of SIGTERM to terminate NsJail
This new behavior matches how other limiters terminate the subprocess,
resulting in a more consistency in the front-end for the end users as
well.
Diffstat (limited to 'tests/test_nsjail.py')
-rw-r--r-- | tests/test_nsjail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py index 852be4b..4a040e7 100644 --- a/tests/test_nsjail.py +++ b/tests/test_nsjail.py @@ -182,4 +182,4 @@ class NsJailTests(unittest.TestCase): """).strip() result = self.nsjail.python3(stdout_flood) - self.assertEqual(result.returncode, 143) + self.assertEqual(result.returncode, -9) |