Skip to content

Commit cc60636

Browse files
committed
Increase the stack size limit for SandboxPolicyUntrustedTest
1 parent 4a0e3ce commit cc60636

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graalpython/com.oracle.graal.python.test.integration/src/com/oracle/graal/python/test/integration/advanced/SandboxPolicyUntrustedTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ private static Value run(String source) {
6969
.option("sandbox.MaxHeapMemory", "800MB") //
7070
.option("sandbox.MaxCPUTime", "10s") //
7171
.option("sandbox.MaxASTDepth", "100") //
72-
.option("sandbox.MaxStackFrames", "10") //
72+
// encodings import during ctx init takes 19 frames and that's the deepest
73+
.option("sandbox.MaxStackFrames", "25") //
7374
.option("sandbox.MaxThreads", "1") //
7475
.option("sandbox.MaxOutputStreamSize", "1MB") //
7576
.option("sandbox.MaxErrorStreamSize", "1MB") //

0 commit comments

Comments
 (0)