Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-447

Cron changes broke python thrift test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Scheduler
    • None
    • Q2 Sprint 2

    Description

      src/test/python/apache/aurora/config/test_thrift.py F.........

      =================================== FAILURES ===================================
      ______________________________ test_simple_config ______________________________

      def test_simple_config():
      job = convert_pystachio_to_thrift(HELLO_WORLD)
      assert job.instanceCount == 1
      tti = job.taskConfig
      assert job.key == JobKey(
      role=HELLO_WORLD.role().get(),
      environment=HELLO_WORLD.environment().get(),
      name=HELLO_WORLD.name().get())
      assert job.owner == Identity(role=HELLO_WORLD.role().get(), user=getpass.getuser())
      > assert job.cronSchedule == ''
      E assert None == ''
      E + where None = JobConfiguration(instanceCount=1, cronSchedule=None, cronCollisionPolicy=0, ke...01, constraints=set([])), owner=Identity(role=u'john_doe', user='mchucarroll')).cronSchedule

      src/test/python/apache/aurora/config/test_thrift.py:56: AssertionError
      ====================== 1 failed, 9 passed in 1.55 seconds ======================

      Attachments

        Activity

          People

            kevints Kevin Sweeney
            mchucarroll Mark Chu-Carroll
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: