Commit 7f026c48 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[master] Skip mapped file tests where unavailable

parent 1a8db043
......@@ -329,6 +329,8 @@ class ClientListTest(unittest.TestCase):
isc.datasrc.ConfigurableClientList.SEGMENT_INUSE),
status[0])
@unittest.skipIf(os.environ['HAVE_SHARED_MEMORY'] != 'yes',
'shared memory is not available')
def test_get_status_unused(self):
"""
Test getting status when segment type is mapped, but the cache
......@@ -355,6 +357,8 @@ class ClientListTest(unittest.TestCase):
isc.datasrc.ConfigurableClientList.SEGMENT_UNUSED),
status[0])
@unittest.skipIf(os.environ['HAVE_SHARED_MEMORY'] != 'yes',
'shared memory is not available')
def test_get_status_waiting(self):
"""
Test getting status when segment type is mapped and it has not
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment