Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: add PASS,FLAKY in parallel.status
  • Loading branch information
viktor-ku committed Sep 25, 2017
commit 4c6aaabdf893ab4b2d8242bb9b5149c2714e341e
2 changes: 2 additions & 0 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ test-npm-install: PASS,FLAKY

[$system==freebsd]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unrelated change. Please add that back in.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's odd because I have this last line in my editor

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This shows two lines at the end of the file (i.e. the file ends in \n\n - one shows up as a new line, and the other as an EOF \n which is required...)

[$system==aix]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If aix is fixed maybe we don't need this anymore?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably not, so please go ahead and remove this.

test-os: PASS,FLAKY
6 changes: 3 additions & 3 deletions test/parallel/test-os.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ function flatten(arr) {
}
case 'aix':
{
// This test will fail on aix by default
// Issue: https://github.com/nodejs/node/issues/14119
const lo0 = interfaces.lo0;
// There might not be a lo0 entry configured
if (!lo0) break;
Expand Down Expand Up @@ -205,8 +207,6 @@ flatten(Object.values(interfaces))
});

const EOL = os.EOL;
assert.ok(EOL.length > 0);

if (common.isWindows) {
assert.strictEqual(EOL, '\r\n');
} else {
Expand Down Expand Up @@ -267,4 +267,4 @@ assert.strictEqual(pwd.homedir, pwdBuf.homedir.toString('utf8'));
[`${os.tmpdir}`, os.tmpdir()],
[`${os.arch}`, os.arch()],
[`${os.platform}`, os.platform()]
].forEach((set) => assert.strictEqual(set[0], set[1]));
].forEach(([expected, actual]) => assert.strictEqual(expected, actual));