This commit is contained in:
51
fixtures/batch/batch_extract_bytes_size_cap.json
Normal file
51
fixtures/batch/batch_extract_bytes_size_cap.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"id": "batch_extract_bytes_size_cap",
|
||||
"category": "batch",
|
||||
"description": "batch_extract_bytes: archive size cap triggers error",
|
||||
"call": "batch_extract_bytes",
|
||||
"skip": {
|
||||
"languages": [
|
||||
"rust",
|
||||
"node",
|
||||
"python",
|
||||
"php",
|
||||
"wasm",
|
||||
"go",
|
||||
"r",
|
||||
"ruby",
|
||||
"csharp",
|
||||
"elixir",
|
||||
"kotlin",
|
||||
"kotlin_android",
|
||||
"swift",
|
||||
"zig",
|
||||
"java",
|
||||
"dart"
|
||||
],
|
||||
"reason": "SecurityLimits.max_content_size is only enforced by archive/Excel extractors; test requires actual archive format to trigger error, which is not easily testable via byte fixtures"
|
||||
},
|
||||
"input": {
|
||||
"items": [
|
||||
{
|
||||
"content": [
|
||||
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||||
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||||
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||||
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||||
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97
|
||||
],
|
||||
"mime_type": "text/plain"
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"security_limits": {
|
||||
"max_content_size": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "error"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user