flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1487) Failing SchedulerIsolatedTasksTest.testScheduleQueueing test case
Date Sun, 15 Feb 2015 10:05:11 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321904#comment-14321904

ASF GitHub Bot commented on FLINK-1487:

GitHub user tillrohrmann opened a pull request:


    [FLINK-1487] Fixes ScheduleIsolatedTasksTest.testScheduleQueueing

    This PR fixes the ```ScheduleIsolatedTasksTest.testScheduleQueueing```. The problem was
that the method ```Scheduler.getNumberOfAvailableSlots``` did only counted the slots of the
available instances but not of those which were queued up in the ```newlyAvailableInstances```
queue. Thus, by checking the ```newlyAvailableInstances``` queue before counting, the correct
number of slots is returned.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tillrohrmann/flink fixTestScheduleQueueing

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #398
commit 13d198a1bd8f1c68d43243d6665958fbb19763c9
Author: Till Rohrmann <trohrmann@apache.org>
Date:   2015-02-14T16:38:57Z

    [FLINK-1487] [runtime][tests] Fixes SchedulerIsolatedTasksTest.testScheduleQueueing by
waiting for the released resources to registered at the Scheduler again.


> Failing SchedulerIsolatedTasksTest.testScheduleQueueing test case
> -----------------------------------------------------------------
>                 Key: FLINK-1487
>                 URL: https://issues.apache.org/jira/browse/FLINK-1487
>             Project: Flink
>          Issue Type: Bug
>          Components: JobManager
>    Affects Versions: 0.9
>            Reporter: Till Rohrmann
> I got the following failure on travis:
> {{SchedulerIsolatedTasksTest.testScheduleQueueing:283 expected:<107> but was:<106>}}
> The failure does not occur consistently on travis.

This message was sent by Atlassian JIRA

View raw message