Skip to content

Sporadic test failure with random matrix #2125

Closed

Description

@jakirkham

Seeing a test failure in one of the matrix items. Seems to be some tolerance issue with a random array test.

=================================== FAILURES ===================================
____________________________ test_random_from_array ____________________________
[gw2] linux -- Python 3.6.0 /home/travis/miniconda/envs/test-environment/bin/python
def test_random_from_array():
        x = np.zeros(10000000)
        start = time.time()
        y = da.from_array(x, chunks=x.shape[0] / 10, name=False)
        end = time.time()
>       assert end - start < 0.100
E       assert (1490181743.5850947 - 1490181743.1549883) < 0.1
dask/array/tests/test_array_core.py:2776: AssertionError
======== 1 failed, 2331 passed, 3 skipped, 14 xfailed in 341.84 seconds ========

Edit: To include the failure snippet.

Activity

  1. mrocklin commented on Mar 30, 2017

    @mrocklin
    Member

    This has been resolved by #2130

  2. jakirkham commented on Apr 28, 2017

    @jakirkham
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions