Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Temporarily Commenting out Flaky Test (#15436)
Browse files Browse the repository at this point in the history
* comment out flaky test

* Update test_profiler.py

* Update test_profiler.py

* Update test_profiler.py
  • Loading branch information
Zha0q1 authored and szha committed Jul 3, 2019
1 parent c6bb2ce commit 512a491
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/python/unittest/test_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import json
from collections import OrderedDict
from common import run_in_spawned_process
import unittest

def enable_profiler(profile_filename, run=True, continuous_dump=False, aggregate_stats=False):
profiler.set_config(profile_symbolic=True,
Expand Down Expand Up @@ -427,13 +428,15 @@ def create_operator(self, ctx, shapes, dtypes):
and '_plus_scalar' in target_dict['Time']['operator']
profiler.set_state('stop')

@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/15406")
def test_custom_operator_profiling_multiple_custom_ops_symbolic():
run_in_spawned_process(test_custom_operator_profiling_multiple_custom_ops_imperative, \
{'MXNET_EXEC_BULK_EXEC_INFERENCE' : 0, \
'MXNET_EXEC_BULK_EXEC_TRAIN' : 0}, \
'symbolic', \
'test_custom_operator_profiling_multiple_custom_ops_symbolic.json')

@unittest.skip("Flaky test https://github.com/apache/incubator-mxnet/issues/15406")
def test_custom_operator_profiling_naive_engine():
# run the three tests above using Naive Engine
run_in_spawned_process(test_custom_operator_profiling, \
Expand Down

0 comments on commit 512a491

Please sign in to comment.