Actions
Bug #21597
closed"Error: Socket closed before finished writing response" for "show process details" test
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Story points:
-
Release:
Release relationship:
Auto
Updated by Stephen Smith 9 months ago
Just dropping this here - https://github.com/cypress-io/cypress/issues/26248#issuecomment-1623005400
It looks like the fix is to replace
req.reply(res => {
res.body.modified_by_user_uuid = "zzzzz-tpzed-000000000000000";
});
with
req.on('response', res => {
res.body.modified_by_user_uuid = "zzzzz-tpzed-000000000000000";
});
Updated by Stephen Smith 9 months ago
Changes at arvados|903783f131aa5dc786b1b46283e44c04c877cc11 branch 21597-cypress-reply-fix
developer-run-tests-services-workbench2: #580
Swapped cy.reply with cy.on('response'
Passed 12 consecutive runs without failing
Updated by Peter Amstutz 9 months ago
Stephen Smith wrote in #note-5:
Changes at arvados|903783f131aa5dc786b1b46283e44c04c877cc11 branch 21597-cypress-reply-fix
developer-run-tests-services-workbench2: #580Swapped cy.reply with cy.on('response'
Passed 12 consecutive runs without failing
This LGTM
Updated by Stephen Smith 9 months ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|ea3743e6f64672fa487ee55dba66c63cb9da0123.
Actions