Skip to content

Commit 70465ee

Browse files
mohit-maratheeszkadev
authored andcommitted
cypress: extend waitUntilCoreIsIdle retry window to 20s
Under heavy CI load, the default 10s retry window expires before the unocommandresult of .uno:ReportWhenIdle arrives, causing intermittent failures. Change-Id: Icf9c1a6b2dc181e2a689c537f1f9085917465b16 Signed-off-by: Mohit Marathe <mohit.marathe@collabora.com> Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2067 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
1 parent 05ff1d7 commit 70465ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • cypress_test/integration_tests/common

cypress_test/integration_tests/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ function waitUntilCoreIsIdle(win) {
12661266
win.app.socket.sendMessage('uno .uno:ReportWhenIdle ' + JSON.stringify(idleArgs));
12671267
});
12681268

1269-
cy.wrap(null).should(function() {
1269+
cy.wrap(null, { timeout: Cypress.config('defaultCommandTimeout') * 2.0 }).should(function() {
12701270
var matchingCall = spy.getCalls().find(function(call) {
12711271
var evt = call.args && call.args[0];
12721272
var textMsg = evt && evt.textMsg;

0 commit comments

Comments
 (0)