---
$inherits:
  from: 'tasks/tests/b2g_unittest_base.yml'
task:
  metadata:
    name: '[TC] Mulet Mochitests ( {{chunk}} )'
    description: Mulet Mochitest run {{chunk}}

  payload:
    env:
      NEED_PULSEAUDIO: true
      MOZHARNESS_SCRIPT: 'mozharness/scripts/desktop_unittest.py'
      MOZHARNESS_CONFIG: >
        mozharness/configs/unittests/linux_unittest.py
        mozharness/configs/remove_executables.py
    command:
      - bash
      - /home/worker/bin/test.sh
      - --no-read-buildbot-config
      - --installer-url={{build_url}}
      - --test-packages-url={{test_packages_url}}
      - --download-symbols=ondemand
      - --mochitest-suite=plain-chunked
      - --total-chunk={{total_chunks}}
      - --this-chunk={{chunk}}

  extra:
    treeherderEnv:
      - production
      - staging
    chunks:
      total: 5
    treeherder:
      groupSymbol: M
      groupName: Mulet mochitests
      symbol: {{chunk}}
