From eef561e53360eb341528c9f33dc0afaaa0d47932 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Feb 25 2017 19:15:25 +0000 Subject: Increase the timeout for the test. Signed-off-by: Randy Barlow --- diff --git a/0000-Add-timeout-values-that-work-on-ARM.patch b/0000-Add-timeout-values-that-work-on-ARM.patch index a683d57..97143f5 100644 --- a/0000-Add-timeout-values-that-work-on-ARM.patch +++ b/0000-Add-timeout-values-that-work-on-ARM.patch @@ -1,4 +1,4 @@ -From 5a5fcbd79ebeae1683def9023c496ca45cf3ee1c Mon Sep 17 00:00:00 2001 +From 418a2408cf75fb685a9339de8f37d85ee33a67c7 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Sat, 25 Feb 2017 11:53:01 -0500 Subject: [PATCH] Increase adts_test's timeout for testing on slow arches @@ -12,7 +12,7 @@ Signed-off-by: Randy Barlow 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/test/proper_tests.erl b/test/proper_tests.erl -index d7a9049..150bee2 100644 +index d7a9049..8e9e341 100644 --- a/test/proper_tests.erl +++ b/test/proper_tests.erl @@ -1043,15 +1043,14 @@ options_test_() -> @@ -25,13 +25,13 @@ index d7a9049..150bee2 100644 - {timeout, 40, % for 18.x (and onwards?) - ?_passes(?FORALL({X,Y,D}, - {integer(),float(),?DICT(integer(),float())}, -+ {timeout, 64, % for 18.x (and onwards?) ++ {timeout, 128, % for 18.x (and onwards?) + ?_passes(?FORALL({X,Y,D}, {integer(),float(),?DICT(integer(),float())}, dict:fetch(X,dict:store(X,Y,eval(D))) =:= Y), [30])}, - ?_fails(?FORALL({X,D}, - {boolean(),?DICT(boolean(),integer())}, - dict:erase(X, dict:store(X,42,D)) =:= D))]. -+ {timeout, 128, % seems to be needed on slow machines (ARM) ++ {timeout, 256, % seems to be needed on slow machines (ARM) + ?_fails(?FORALL({X,D}, {boolean(),?DICT(boolean(),integer())}, + dict:erase(X, dict:store(X,42,D)) =:= D))}].