FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: deflake test-inspector-strip-types by lpinca · Pull Request #55058 · nodejs/node · GitHub

/ node Public

test: deflake test-inspector-strip-types - #55058

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
lpinca:deflake/test-inspector-strip-types
Sep 24, 2024
Merged

test: deflake test-inspector-strip-types#55058
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
lpinca:deflake/test-inspector-strip-types

Conversation

lpinca commented Sep 22, 2024

Copy link
Copy Markdown
Member

Use the NodeRuntime.waitingForDebugger event.

Refs: #51560

Use the `NodeRuntime.waitingForDebugger` event.

Refs: nodejs#51560
nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Sep 22, 2024

lpinca commented Sep 22, 2024
edited
Loading

Copy link
Copy Markdown
Member Author

Fixes https://ci.nodejs.org/job/node-test-commit-linuxone/46006/nodes=rhel9-s390x/testReport/junit/(root)/parallel/test_inspector_strip_types/

---
duration_ms: 15234.513
exitcode: 1
severity: fail
stack: |-
  [test] Connecting to a child Node process
  [test] Testing /json/list
  [err] Debugger listening on ws://127.0.0.1:42023/4731393b-b955-4019-8f07-0182e30cf571
  [err] For help, see: https://nodejs.org/en/docs/inspector
  [err]
  [err] Debugger attached.
  [err]
  Timed out waiting for matching notification ((notification) => {
      if (notification.method !== 'Debugger.scriptParsed') return false;

      return notification.params.url === scriptPath;
    })
  1
...

Before:

$ python3 tools/test.py --repeat=1000 test/parallel/test-inspector-strip-types.js 
=== release test-inspector-strip-types ===                   
Path: parallel/test-inspector-strip-types
[test] Connecting to a child Node process
[test] Testing /json/list
[err] Debugger listening on ws://127.0.0.1:49443/ea1dd0d0-5c93-4ca6-9fd1-a73e017800bb
[err] For help, see: https://nodejs.org/en/docs/inspector
[err] 
[err] Debugger attached.
[err]
Timed out waiting for matching notification ((notification) => {
    if (notification.method !== 'Debugger.scriptParsed') return false;

    return notification.params.url === scriptPath;
  })
1
Command: out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js


...


[00:53|% 100|+ 993|-   7]: Done                              

Failed tests:
out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js
out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js
out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js
out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js
out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js
out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js
out/Release/node /Users/luigi/code/node/test/parallel/test-inspector-strip-types.js

After:

$ python3 tools/test.py --repeat=1000 test/parallel/test-inspector-strip-types.js 
[00:45|% 100|+ 1000|-   0]: Done                             

All tests passed.

codecov Bot commented Sep 22, 2024
edited
Loading

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.23%. Comparing base (cfe58cf) to head (d1f4a31).
Report is 422 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #55058   +/-   ##
=======================================
  Coverage   88.23%   88.23%           
=======================================
  Files         652      652           
  Lines      183912   183912           
  Branches    35865    35868    +3     
=======================================
+ Hits       162272   162275    +3     
  Misses      14915    14915           
+ Partials     6725     6722    -3     

see 38 files with indirect coverage changes

lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 22, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 22, 2024

Copy link
Copy Markdown
Collaborator

aduh95 added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Sep 22, 2024

nodejs-github-bot commented Sep 22, 2024
edited by jakecastelli
Loading

Copy link
Copy Markdown
Collaborator

aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 23, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 24, 2024
nodejs-github-bot merged commit 3c5ceff into nodejs:main Sep 24, 2024

Copy link
Copy Markdown
Collaborator

Landed in 3c5ceff

lpinca deleted the deflake/test-inspector-strip-types branch September 24, 2024 06:00
targos pushed a commit that referenced this pull request Oct 4, 2024
Use the `NodeRuntime.waitingForDebugger` event.

Refs: #51560
PR-URL: #55058
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
aduh95 mentioned this pull request Oct 9, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL