spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srowen <>
Subject [GitHub] spark pull request: [WIP][SPARK-6963][CORE]Flaky test: o.a.s.Conte...
Date Fri, 17 Apr 2015 10:00:49 GMT
Github user srowen commented on a diff in the pull request:
    --- Diff: core/src/test/scala/org/apache/spark/ContextCleanerSuite.scala ---
    @@ -245,7 +245,7 @@ class ContextCleanerSuite extends ContextCleanerSuiteBase {
         assert(fs.exists(RDDCheckpointData.rddCheckpointDataPath(sc, rddId).get))
         // Test that GC causes checkpoint data cleanup after dereferencing the RDD
    -    postGCTester = new CleanerTester(sc, Seq(rddId), Nil, Nil)
    +    postGCTester = new CleanerTester(sc, Seq(rddId), Nil, Nil, Seq(rddId))
    --- End diff --
    How does this fix the assertion that failed? you add a new set of IDs that must now be
counted down by a new callback, and you assert it ends up empty, which is good. But the assertion
that failed was earlier:
         assert(fs.exists(RDDCheckpointData.rddCheckpointDataPath(sc, rddId).get))

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message