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

    https://github.com/apache/spark/pull/17404#discussion_r108000050
  
    --- 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 task name to spark.app.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 == "test-mesos-dynamic-alloc 0")
    --- End diff --
    
    Thanks, as a side note, we need to update this task name, since it's not 
general to all tests here.  But we can do that later.


---
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