From bc9136713d92b097bae695f392fa0659c166ae4a Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Thu, 31 Jul 2014 11:20:53 -0700 Subject: [PATCH] Increase stack size in src/test/run-pass/spawn-stack-too-big.rs This test should fail by creating a task which allocates too much stack space, but some recent change in Travis has caused it to succeed. Jack up the memory to 128Gb and see if that corrects it. --- src/test/run-pass/spawn-stack-too-big.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-pass/spawn-stack-too-big.rs b/src/test/run-pass/spawn-stack-too-big.rs index e1c4a480d1cc1..093950a50a465 100644 --- a/src/test/run-pass/spawn-stack-too-big.rs +++ b/src/test/run-pass/spawn-stack-too-big.rs @@ -38,7 +38,7 @@ fn test() {} fn test() { let (tx, rx) = channel(); spawn(proc() { - TaskBuilder::new().stack_size(1024 * 1024 * 1024 * 64).spawn(proc() { + TaskBuilder::new().stack_size(128 * 1024 * 1024 * 1024).spawn(proc() { }); tx.send(()); });