Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

test: skip tests that are marked flaky for node-chakracore #436

Conversation

jaimecbernardo
Copy link
Contributor

Currently, most tests that are marked as FLAKY for the ChakraCore engine in the tests' .status files are actually failing everytime they are run.

This PR marks those tests as SKIP, instead. FLAKY should be used for tests that fail only sometimes due to timing or racing conditions issues but pass most of the time.
This PR contains four different changes, divided by commit:

  • Remove, in the .status files, mentions to tests that no longer exist.
  • Skip tests that are described as FLAKY for Node-Chakracore in the .status files.
  • Skip, in the .status files, tests that are being skipped at runtime for depending on V8 features.
  • Move the remaining tests that are skipped for Node-Chakracore at runtime to SKIP entries in .status files.

Fixes: #426

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

test

Remove mentions to tests that no longer exist from .status
files.
Tests were marked as FLAKY in the .status files for ChakraCore
because they were failing.
This commit changes the .status files to skip those tests instead.

Fixes: nodejs#426
Some tests check for the ChakraCore engine at runtime to skip,
since these tests depend on V8 features.
This commit adds those tests to the .status files, so they aren't
started at all.
Move all tests that are fully skipped at runtime for the
ChakraCore engine to the .status files as a SKIP entry, so
they aren't started at all.
Copy link
Member

@joaocgreis joaocgreis left a comment

Choose a reason for hiding this comment

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

LGTM, cc @nodejs/node-chakracore

With this we lose the ability to quickly run these tests, but we reduce the delta to the upstream tests and almost everything is organized in the status files. Almost, because tests that are only partially skipped must still be skipped in the test file with common.skip. I think this is a good solution.

Copy link
Contributor

@jackhorton jackhorton left a comment

Choose a reason for hiding this comment

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

@jackhorton
Copy link
Contributor

@MSLaguana you had seen that lint error before, no?

@MSLaguana
Copy link
Contributor

Yeah, we haven't spent the time to make our readme files lint-clean since that's a relatively new addition.

joaocgreis pushed a commit that referenced this pull request Dec 6, 2017
Remove mentions to tests that no longer exist from .status files.

PR-URL: #436
Reviewed-By: João Reis <[email protected]>
Reviewed-By: Jack Horton <[email protected]>
joaocgreis pushed a commit that referenced this pull request Dec 6, 2017
Tests were marked as FLAKY in the .status files for ChakraCore because
they were failing. This commit changes the .status files to skip those
tests instead.

PR-URL: #436
Fixes: #426
Reviewed-By: João Reis <[email protected]>
Reviewed-By: Jack Horton <[email protected]>
joaocgreis pushed a commit that referenced this pull request Dec 6, 2017
Some tests check for the ChakraCore engine at runtime to skip, since
these tests depend on V8 features. This commit adds those tests to the
.status files, so they aren't started at all.

PR-URL: #436
Refs: #426
Reviewed-By: João Reis <[email protected]>
Reviewed-By: Jack Horton <[email protected]>
joaocgreis pushed a commit that referenced this pull request Dec 6, 2017
Move all tests that are fully skipped at runtime for the ChakraCore
engine to the .status files as a SKIP entry, so they aren't started
at all.

PR-URL: #436
Refs: #426
Reviewed-By: João Reis <[email protected]>
Reviewed-By: Jack Horton <[email protected]>
@joaocgreis
Copy link
Member

Landed in a7d03f2...a008278. Thanks!

@joaocgreis joaocgreis closed this Dec 6, 2017
kfarnung pushed a commit to kfarnung/node-chakracore that referenced this pull request Jan 11, 2018
Tests were marked as FLAKY in the .status files for ChakraCore because
they were failing. This commit changes the .status files to skip those
tests instead.

PR-URL: nodejs#436
Fixes: nodejs#426
Reviewed-By: João Reis <[email protected]>
Reviewed-By: Jack Horton <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants