You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ha...@apache.org on 2018/08/04 17:23:56 UTC

[incubator-mxnet] branch master updated: Re-enabling test_ndarray/test_cached (#11950)

This is an automated email from the ASF dual-hosted git repository.

haibin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new deae58d  Re-enabling test_ndarray/test_cached (#11950)
deae58d is described below

commit deae58db8e7fd7583988357ed7c2e6c53d1db500
Author: Vandana Kannan <va...@users.noreply.github.com>
AuthorDate: Sat Aug 4 10:23:49 2018 -0700

    Re-enabling test_ndarray/test_cached (#11950)
    
    Test passes on CPU and GPU (10000 runs)
---
 tests/python/unittest/test_ndarray.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/unittest/test_ndarray.py b/tests/python/unittest/test_ndarray.py
index ac6ee15..931f805 100644
--- a/tests/python/unittest/test_ndarray.py
+++ b/tests/python/unittest/test_ndarray.py
@@ -862,7 +862,7 @@ def test_iter():
     for i in range(x.size):
         assert same(y[i].asnumpy(), x[i].asnumpy())
 
-@unittest.skip("test fails intermittently. temporarily disabled till it gets fixed. tracked at https://github.com/apache/incubator-mxnet/issues/8049")
+@with_seed()
 def test_cached():
     sym = mx.sym.Convolution(kernel=(3, 3), num_filter=10) + 2
     op = mx.nd.CachedOp(sym)