Skip to content

Conversation

@Trott
Copy link
Member

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

test fs

Description of change

Depends on #7327. More info after that lands...

Copy of shell script used to stress test locally for the problem:

#!/bin/bash BASE_PATH=./test/parallel TEST=$1 COPIES=$2foriin`seq 1 $COPIES`;do cp $BASE_PATH/$TEST.js $BASE_PATH/$TEST-$i.js done runcount=1 whiletrue;doecho"Run ${runcount}" /usr/bin/python tools/test.py --timeout=5 --mode=release parallel/${TEST}* -J if [ $?-ne 0 ];thenbreakfi((runcount++))done

Script (named stress.sh in the project root) instantiated with: bash stress.sh test-fs-watch-encoding 4

Without change in this PR, it fails after a handful of runs, usually less than 10 and never more than 100. With this change, it does not seem to fail at all.

@TrottTrott added fs Issues and PRs related to the fs subsystem / file system. test Issues and PRs related to the tests. macos Issues and PRs related to the macOS platform / OSX. labels Jun 22, 2016
@Trott
Copy link
MemberAuthor

R=@santigimeno

@Trott
Copy link
MemberAuthor

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/our/out/

@bnoordhuis
Copy link
Member

LGTM with typo.

@santigimeno
Copy link
Member

LGTM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this. The test now passes in FreeBSD because of the interval

@Trott
Copy link
MemberAuthor

Rebased, nits fixed, force pushed, new CI: https://ci.nodejs.org/job/node-test-pull-request/3051/

@Trott
Copy link
MemberAuthor

CI again: https://ci.nodejs.org/job/node-test-pull-request/3052/ Hooray, yellow, not red, I'll take it.

Trott added a commit to Trott/io.js that referenced this pull request Jun 24, 2016
PR-URL: nodejs#7356 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]>
@Trott
Copy link
MemberAuthor

Landed in 5267f29

@TrottTrott closed this Jun 24, 2016
Fishrock123 pushed a commit that referenced this pull request Jun 27, 2016
PR-URL: #7356 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]>
@Fishrock123Fishrock123 mentioned this pull request Jun 27, 2016
Fishrock123 pushed a commit that referenced this pull request Jul 5, 2016
PR-URL: #7356 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]>
@Fishrock123Fishrock123 mentioned this pull request Jul 5, 2016
@MylesBorins
Copy link
Contributor

@Trott lts?

@Trott
Copy link
MemberAuthor

@thealphanerd No.

@TrottTrott deleted the kq branch January 13, 2022 22:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fsIssues and PRs related to the fs subsystem / file system.macosIssues and PRs related to the macOS platform / OSX.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Trott@bnoordhuis@santigimeno@MylesBorins