aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nsjail.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-20 22:29:47 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-20 22:40:24 +0100
commit18ab777eef3045421f4df3b127079833a8c3cbe5 (patch)
tree63ce337e55ed87908ab3ec525f1ca231b8759b51 /tests/test_nsjail.py
parentIncrease 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.py2
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)