Github user kalvinnchau commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17404#discussion_r107997084
  
    --- Diff: 
resource-managers/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
 ---
    @@ -464,6 +464,17 @@ class MesosCoarseGrainedSchedulerBackendSuite extends 
SparkFunSuite
         assert(!uris.asScala.head.getCache)
       }
     
    +  test("mesos sets configurable task name") {
    +    setBackend()
    +
    +    val offers = List(Resources(backend.executorMemory(sc), 1))
    +    offerResources(offers)
    +    val launchedTasks = verifyTaskLaunched(driver, "o1")
    +
    +    // Add " 0" to the taskName to match the executor number that is 
appended
    +    assert(launchedTasks.head.getName == s"${sc.appName} 0")
    --- End diff --
    
    done!


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to