Skip to content

test: do not open fixture files for writing - #17810

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:do-not-write2
Closed

Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:do-not-write2

Conversation

@Trott

@Trott Trott commented Dec 21, 2017

Copy link
Copy Markdown
Member

Use temp directory for open with O_DSYNC (which indicates a write may
occur) rather than fixtures directory. Additionally, test can be run
on macOS so allow that in addition to Linux.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test fs

Use temp directory for open with `O_DSYNC` (which indicates a write may
occur) rather than `fixtures` directory. Additionally, test can be run
on macOS so allow that in addition to Linux.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Dec 21, 2017
@Trott

ghost commented Dec 21, 2017

Copy link
Copy Markdown
Member Author

@Trott

ghost commented Dec 21, 2017

Copy link
Copy Markdown
Member Author

Build failure on LinuxONE seems unrelated, re-running: https://ci.nodejs.org/job/node-test-commit-linuxone/11391/

@Trott

ghost commented Dec 22, 2017

Copy link
Copy Markdown
Member Author

Landed in c339931

@Trott Trott closed this Dec 22, 2017
@MylesBorins MylesBorins mentioned this pull request Jan 10, 2018
@Trott
Trott deleted the do-not-write2 branch January 13, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants