mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Skip process test on < 2.7
There is an unfixed bug in 2.6 that makes this unstable.
This commit is contained in:
parent
534a21e8d6
commit
3d36f47d53
@ -3,12 +3,13 @@
|
||||
# Import python libs
|
||||
from __future__ import absolute_import
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import signal
|
||||
import multiprocessing
|
||||
|
||||
# Import Salt Testing libs
|
||||
from salttesting import TestCase
|
||||
from salttesting import TestCase, skipIf
|
||||
from salttesting.helpers import ensure_in_syspath
|
||||
ensure_in_syspath('../../')
|
||||
|
||||
@ -99,6 +100,7 @@ class TestProcessManager(TestCase):
|
||||
process_manager.stop_restarting()
|
||||
process_manager.kill_children()
|
||||
|
||||
@skipIf(sys.version_info < (2, 7), 'Needs > Py 2.7 due to bug in stdlib')
|
||||
def test_counter(self):
|
||||
def incr(counter, num):
|
||||
salt.utils.appendproctitle('test_counter')
|
||||
|
Loading…
Reference in New Issue
Block a user