he.qiao created SPARK-21286:
-------------------------------

             Summary: [spark core UT]Modify a error for unit test
                 Key: SPARK-21286
                 URL: https://issues.apache.org/jira/browse/SPARK-21286
             Project: Spark
          Issue Type: Test
          Components: Spark Core
    Affects Versions: 2.3.0
            Reporter: he.qiao
            Priority: Minor


The old code segment:
 "
// Submitting RDDInfos with duplicate IDs does nothing
val rddInfo0Cached = new RDDInfo(0, "freedom", 100, StorageLevel.MEMORY_ONLY, 
Seq(10))
 rddInfo0Cached.numCachedPartitions = 1
val stageInfo0Cached = new StageInfo(0, 0, "0", 100, Seq(rddInfo0), Seq.empty, 
"details")" 
should be modified to 
"
// Submitting RDDInfos with duplicate IDs does nothing
    val rddInfo0Cached = new RDDInfo(0, "freedom", 100, 
StorageLevel.MEMORY_ONLY, Seq(10))
    rddInfo0Cached.numCachedPartitions = 1
    val stageInfo0Cached = new StageInfo(0, 0, "0", 100, Seq(rddInfo0Cached), 
Seq.empty, "details")
"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to