Skip to content

Commit 8402863

Browse files
committed
Skip tests that have race conditions under coverage instrumentation
1 parent d797af0 commit 8402863

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ PIP_OPTIONS := $(ST2_PIP_OPTIONS)
4949

5050
NOSE_OPTS := --rednose --immediate --with-parallel
5151
NOSE_TIME := $(NOSE_TIME)
52-
NOSE_COVERAGE_FLAGS := --with-coverage --cover-branches --cover-erase
52+
NOSE_COVERAGE_FLAGS := --attr '!coverage-issues' --with-coverage --cover-branches --cover-erase
5353
NOSE_COVERAGE_PACKAGES := --cover-package=$(COMPONENTS_TEST_COMMA)
5454

5555
ifdef NOSE_TIME

contrib/runners/action_chain_runner/tests/unit/test_actionchain_pause_resume.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
import os
2020
import tempfile
2121

22+
from nose.plugins.attrib import attr
23+
2224
from st2common.bootstrap import actionsregistrar
2325
from st2common.bootstrap import runnersregistrar
2426

@@ -73,6 +75,7 @@
7375
USERNAME = 'stanley'
7476

7577

78+
@attr('coverage-issues')
7679
@mock.patch.object(
7780
CUDPublisher,
7881
'publish_update',

0 commit comments

Comments
 (0)