Project

General

Profile

Actions

Bug #21597

closed

"Error: Socket closed before finished writing response" for "show process details" test

Added by Peter Amstutz 8 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
Release:
Release relationship:
Auto

Description

Currently breaking the build, e.g.

run-tests-workbench2: #204


Subtasks 1 (0 open1 closed)

Task #21604: Review 21597-cypress-reply-fixResolved03/18/2024Actions
Actions #1

Updated by Peter Amstutz 8 months ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz 8 months ago

  • Description updated (diff)
Actions #3

Updated by Stephen Smith 8 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";
                });
Actions #4

Updated by Peter Amstutz 8 months ago

  • Assigned To set to Stephen Smith
Actions #5

Updated by Stephen Smith 8 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

Actions #6

Updated by Peter Amstutz 8 months ago

Stephen Smith wrote in #note-5:

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

This LGTM

Actions #7

Updated by Stephen Smith 8 months ago

  • Status changed from In Progress to Resolved
Actions #8

Updated by Peter Amstutz 7 months ago

  • Release set to 70
Actions

Also available in: Atom PDF