Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38619

Clean up Junit api usage in scalatest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • Tests
    • None

    Description

      There are some Junit api usage in scalatest, for example

       

        test("SPARK-31422: getMemoryStatus should not fail after BlockManagerMaster stops") {
          val bmm = new BlockManagerMaster(null, null, new SparkConf, true)
          assertTrue(bmm.getMemoryStatus.isEmpty)
        } 

      `assertTrue` is junit api 

      Attachments

        Activity

          People

            LuciferYang Yang Jie
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: