Skip to content

Some test cases seem unreachable? #60837

@illusory-dream

Description

@illusory-dream

Version

26.0.0-pre

Platform

Linux ubuntu 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Microsoft Windows NT 10.0.26200.0 x64

Subsystem

No response

What steps will reproduce the bug?

  1. Add an intentional bad assert in the file of test case: test\parallel\test-repl-history-perm.js
Image
  1. Run python tools/test.py --mode=release parallel
  2. It reported "All tests passed."
Image

How often does it reproduce? Is there a required condition?

I can reproduce it everytime

What is the expected behavior? Why is that the expected behavior?

Test failed as 1 not equal 2 obviously.

What do you see instead?

[00:51]% 100|+ 3953|- 0]: Done

All tests passed.

Additional information

I try several versions of node. It seemed to happen from v24.2.0.
This is screenshot of v24.1.0

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions