Warn on AES test for systems with > 1 core (#37724)

* Warn on AES test for systems with > 1 core

* Whitespace fix
This commit is contained in:
Mike Place 2016-11-16 16:44:33 +00:00 committed by Nicole Thomas
parent 35655d521f
commit 3be9ab4cd0

View file

@ -127,6 +127,12 @@ class AESReqTestCases(BaseZMQReqCase, ReqChannelMixin):
# TODO: make failed returns have a specific framing so we can raise the same exception
# on encrypted channels
#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
# WARNING: This test will fail randomly on any system with > 1 CPU core!!!
#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
def test_badload(self):
'''
Test a variety of bad requests, make sure that we get some sort of error