Skip to content

Commit 86bde5a

Browse files
authored
Merge pull request #1733 from catalyst/fix-algequiv-timeout-fixture
Fix AlgEquiv fixture timeout
2 parents 180cd33 + cad04fa commit 86bde5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/fixtures/answertestfixtures.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ class stack_answertest_test_data {
423423
['AlgEquiv', '', '0=-x+y/A+(y-z)/B', '0=x-y/A-(y-z)/B', 1, 'ATEquation_num', ''],
424424
['AlgEquiv', '', 'x^6000-x^6001=x^5999', 'x^5999*(1-x+x^2)=0', 1, 'ATEquation_ratio', ''],
425425
['AlgEquiv', '', 'x^6000-x^6001=x^5999', 'x^5999*(1-x+x^3)=0', 0, 'ATEquation_default', ''],
426-
['AlgEquiv', '', '258552*x^7*(81*x^8+1)^398', 'x^3*(x^4+1)^399', 0, '', ''],
426+
// Factoring the difference of these expressions is expensive enough to hit the CAS timeout on slower runs.
427+
['AlgEquiv', '', '258552*x^7*(81*x^8+1)^398', '(algebraic_equivalence_factorp:false,x^3*(x^4+1)^399)', 0, '', ''],
427428
['AlgEquiv', '', 'Ia*(R1+R2+R3)-Ib*R3=0', '-Ia*(R1+R2+R3)+Ib*R3=0', 1, 'ATEquation_num', ''],
428429
['AlgEquiv', '', 'a=0 or b=0', 'a*b=0', 1, 'ATEquation_sides', ''],
429430
['AlgEquiv', '', 'a*b=0', 'a=0 or b=0', 1, 'ATEquation_sides', ''],

0 commit comments

Comments
 (0)