Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Update test_forkbomb_resource_unavailable to disable memory limitsHEADmain | 7 days | -5/+13 | |
| | | | | | | | This was still producing unpredictable behaviour in CI (sometimes being killed and exiting with 137/OOM kill). Disabling the memory limit ensures that the only reason this test case will kill the executing code is because of PID exhaustion. | |||
* | Add integration test for validating JIT builds of Python | 7 days | -0/+27 | |
| | ||||
* | Reduce PID limits for test_forkbomb_resource_unavailable | 10 days | -4/+14 | |
| | | | | | | | | This test case was being caught and nsjail was killing it, but not because of PID exhaustion but memory exhaustion. To ensure PID exhaustion is guarded against the PID count is now reduced to a level where nsjail will kill the process earlier before the memory limit. | |||
* | Update nsjail tests to try avoid multiprocessing exception | 11 days | -10/+11 | |
| | ||||
* | Update integration tests accordingly for new defaults | 11 days | -5/+5 | |
| | ||||
* | Close & unlick SharedMemory object in tests | 2025-07-30 | -0/+2 | |
| | | | | Not doing so outputs a warning about leaking SharedMemory, which fails the test | |||
* | update tests to use new default python version | 2025-05-17 | -3/+3 | |
| | ||||
* | Make nogil test more readable by spliting logic across more lines | 2024-10-12 | -4/+5 | |
| | ||||
* | Add test to ensure free threaded versions have GIL disabled | 2024-10-07 | -0/+19 | |
| | ||||
* | Reuse the default executable path const in tests | 2024-10-05 | -4/+2 | |
| | ||||
* | Use 'executable' over 'binary' to be clearer as to what is supported | 2024-10-05 | -13/+19 | |
| | ||||
* | Correct spelling errors | 2024-10-05 | -3/+3 | |
| | | | Co-authored-by: Mark <[email protected]> | |||
* | Update invalid binary paths test to cover new error handling | 2024-10-03 | -7/+7 | |
| | ||||
* | Update all references to /lang to /snekbin | 2024-10-03 | -7/+7 | |
| | ||||
* | Correct spelling in test cases | 2024-10-03 | -2/+2 | |
| | ||||
* | Add additional tests to ensure invalid binary paths are not ran | 2024-10-03 | -0/+19 | |
| | ||||
* | Allow setting a binary_path when calling /eval | 2024-10-03 | -1/+3 | |
| | ||||
* | Add tests for multi-version support | 2024-10-03 | -0/+29 | |
| | ||||
* | Raise error if attachment pathname contains invalid bytes (#209) | 2024-04-09 | -0/+14 | |
| | ||||
* | Refactor writing of input files into a separate function | 2023-10-27 | -1/+1 | |
| | ||||
* | Refactor modules into subpackages | 2023-10-27 | -7/+7 | |
| | ||||
* | Use lower timeout for file parsing timeout test | 2023-09-16 | -2/+2 | |
| | | | | | | | Updating to Bookworm may have increased performance of the file processing. In any case, this test started failing intermittently on when running on a local machine. Lower the timeout so even fast machines will hit the timeout. | |||
* | Merge branch 'main' into jb3/shared-mem | 2023-08-30 | -4/+59 | |
|\ | ||||
| * | Merge pull request #181 from python-discord/feat/158/multi-version | 2023-08-29 | -2/+2 | |
| |\ | | | | | | | Install Multiple Python Versions in the Image | |||
| | * | Install multiple Python versions in image | 2023-08-19 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Separate snekbox's Python interpreter from the interpreter used by NsJail. This allows for the interpreters to be updated on different cadences and provides better isolation of packages. Each Python interpreter adds about 70 MB to the built image. | |||
| * | | Limit total file size read from tmpfs to avoid high memory usage | 2023-08-29 | -2/+57 | |
| |/ | ||||
* / | Update tests to account for shared memory | 2023-08-28 | -17/+64 | |
|/ | ||||
* | Kill process after waiting for it to terminate | 2023-06-23 | -2/+3 | |
| | ||||
* | Attempt to fix flaky integration tests | 2023-06-22 | -0/+11 | |
| | ||||
* | Fix issue when running individual integration tests | 2023-06-22 | -0/+6 | |
| | ||||
* | Add unit tests for time_limit | 2023-03-16 | -0/+30 | |
| | ||||
* | Add unit test for deeply nested path file parsing | 2023-03-11 | -0/+23 | |
| | | | | Using example for reproducing issue #172 | |||
* | Add unit test for hidden paths exclusion | 2023-03-09 | -0/+19 | |
| | ||||
* | Add new -B flag to unit tests | 2023-03-08 | -1/+1 | |
| | ||||
* | Update file write error unit test | 2023-03-02 | -3/+9 | |
| | ||||
* | Update unit tests for home output directory | 2023-03-02 | -6/+6 | |
| | ||||
* | Add null byte schema validation tests | 2022-12-04 | -1/+21 | |
| | ||||
* | Refactor test_filesystem to use tempfile | 2022-12-04 | -8/+8 | |
| | ||||
* | Add tests for test_eval 200 | 2022-12-04 | -0/+3 | |
| | ||||
* | Add usage of ExitStack, remove warning suppress | 2022-12-04 | -20/+18 | |
| | ||||
* | Add refactors for Size enum rename | 2022-12-04 | -2/+2 | |
| | ||||
* | Change Size to IntEnum, change usage in tests | 2022-11-28 | -2/+3 | |
| | ||||
* | Refactor MemFS for implicit cleanup support | 2022-11-28 | -22/+33 | |
| | ||||
* | Fix input append to args | 2022-11-28 | -2/+2 | |
| | ||||
* | Add input/args integration test | 2022-11-28 | -0/+13 | |
| | ||||
* | Add compat support for `input` arg | 2022-11-28 | -7/+11 | |
| | ||||
* | parse_files refactor as instance method | 2022-11-28 | -1/+1 | |
| | ||||
* | Rename `libmount` to `filesystem` | 2022-11-28 | -17/+17 | |
| | ||||
* | Add tests for invalid base64 file content | 2022-11-28 | -0/+58 | |
| | ||||
* | Add ParsingError handling for invalid base64 | 2022-11-28 | -1/+1 | |
| |