You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/06/29 11:25:58 UTC

[incubator-mxnet] branch master updated: [MXNET-610] Disable flaky test test_sample_multinomial (#11488)

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

marcoabreu 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 2509e0c  [MXNET-610] Disable flaky test test_sample_multinomial (#11488)
2509e0c is described below

commit 2509e0cd7095e778537b0518b8594fa3571ba556
Author: Kellen Sunderland <ke...@gmail.com>
AuthorDate: Fri Jun 29 13:25:52 2018 +0200

    [MXNET-610] Disable flaky test test_sample_multinomial (#11488)
---
 tests/python/unittest/test_random.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/python/unittest/test_random.py b/tests/python/unittest/test_random.py
index 3251ba0..3e648a5 100644
--- a/tests/python/unittest/test_random.py
+++ b/tests/python/unittest/test_random.py
@@ -24,6 +24,7 @@ import numpy as np
 import random as rnd
 from common import setup_module, with_seed, random_seed, teardown
 import scipy.stats as ss
+import unittest
 
 def same(a, b):
     return np.sum(a != b) == 0
@@ -358,6 +359,7 @@ def test_parallel_random_seed_setting_for_context():
             assert same(samples_sym[i - 1], samples_sym[i])
 
 @with_seed()
+@unittest.skip("Flaky test: https://github.com/apache/incubator-mxnet/issues/11487")
 def test_sample_multinomial():
     for dtype in ['uint8', 'int32', 'float16', 'float32', 'float64']: # output array types
         for x in [mx.nd.array([[0,1,2,3,4],[4,3,2,1,0]])/10.0, mx.nd.array([0,1,2,3,4])/10.0]: