Skip to content

Commit 2e1887e

Browse files
committed
MQE-1711: Switch between Developer mode and Production mode takes long time and the test end up time out
1 parent fceb17f commit 2e1887e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

etc/config/command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$tokenPassedIn = urldecode($_POST['token'] ?? '');
1515
$command = urldecode($_POST['command'] ?? '');
1616
$arguments = urldecode($_POST['arguments'] ?? '');
17-
$timeout = urldecode($_POST['timeout'] ?? 60);
17+
$timeout = floatval(urldecode($_POST['timeout'] ?? 60));
1818

1919
// Token returned will be null if the token we passed in is invalid
2020
$tokenFromMagento = $tokenModel->loadByToken($tokenPassedIn)->getToken();

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ public function generateStepsPhp($actionObjects, $generationScope = TestGenerato
532532
$sortOrder = null;
533533
$storeCode = null;
534534
$format = null;
535-
$commandTimeout = null;
536535

537536
$assertExpected = null;
538537
$assertActual = null;

0 commit comments

Comments
 (0)