[
https://issues.apache.org/jira/browse/AURORA-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002056#comment-14002056
]
Kevin Sweeney commented on AURORA-447:
--------------------------------------
https://reviews.apache.org/r/21502/
> Cron changes broke python thrift test
> -------------------------------------
>
> Key: AURORA-447
> URL: https://issues.apache.org/jira/browse/AURORA-447
> Project: Aurora
> Issue Type: Bug
> Components: Scheduler
> Reporter: Mark Chu-Carroll
> Assignee: Kevin Sweeney
>
> 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
> ======================
--
This message was sent by Atlassian JIRA
(v6.2#6252)