Disable ParserSync test for now, it takes waaaaay too long.
authorsvenpanne <svenpanne@chromium.org>
Wed, 26 Nov 2014 08:15:46 +0000 (00:15 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Nov 2014 08:16:01 +0000 (08:16 +0000)
Running this in x64.release mode on a powerful HP620 takes 4 seconds,
this is at least 2 orders of magnitude too slow and leads to tons of
false positives on our build bots due to timeouts. As it is, the
cost-benefit ratio is far too low.

The whole approach needs to be changed: Instead of trying to exhaust
some search space in unit tests, this should be turned into a fuzzing
test where only a small but random number of things are tested. The
exhaustive approach can be done separately, but definitely not in the
unit tests.

BUG=v8:3707

Review URL: https://codereview.chromium.org/762743002

Cr-Commit-Position: refs/heads/master@{#25510}

test/cctest/test-parsing.cc

index 99965d2..80d3406 100644 (file)
@@ -1509,7 +1509,9 @@ void TestParserSync(const char* source,
 }
 
 
-TEST(ParserSync) {
+// TODO(marja) This needs to be turned into a fuzzing test, trying all those
+// combinations below takes at least 2 orders of magnitude too long.
+DISABLED_TEST(ParserSync) {
   const char* context_data[][2] = {
     { "", "" },
     { "{", "}" },