Skip to content

flaky: test-child-process-cwd #53989

Closed
@injunchoi98

Description

@injunchoi98

Test

test-child-process-cwd

Platform

Windows

Console output

node:assert:126
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected

+ 'C:\\Windows'
- 'C:\\WINDOWS'
        ^
    at ChildProcess.<anonymous> (C:\Users\admin\WebstormProjects\node\test\parallel\test-child-process-cwd.js:55:26)
    at ChildProcess.<anonymous> (C:\Users\admin\WebstormProjects\node\test\common\index.js:487:15)
    at ChildProcess.emit (node:events:520:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:520:28)
    at Pipe.<anonymous> (node:net:337:12) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 'C:\\Windows',
  expected: 'C:\\WINDOWS',
  operator: 'strictEqual'
}

Node.js v23.0.0-pre

Build links

Additional information

Issue Description

I built Node.js on my local computer using the vcbuild.bat script. After the build was completed, I verified it through the Release\node directory. However, when running .\vcbuild test, I consistently encountered the same error. The error seems to be caused by Windows not distinguishing between uppercase and lowercase folder names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions