GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/398

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

    https://github.com/apache/flink/pull/398.patch

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 <trohrm...@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.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to