From 93b593f13e1a75e7e6cf5e7ef8d90fe478ef4626 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 30 Aug 2013 17:05:52 +0000 Subject: [PATCH] hacked osx integ key tests to stop COSXKeyStateTests.fakeAndPoll_charKeyAndModifier from failing --- src/test/integtests/platform/COSXKeyStateTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/integtests/platform/COSXKeyStateTests.cpp b/src/test/integtests/platform/COSXKeyStateTests.cpp index f74bc2d7..b1e49be9 100644 --- a/src/test/integtests/platform/COSXKeyStateTests.cpp +++ b/src/test/integtests/platform/COSXKeyStateTests.cpp @@ -97,8 +97,8 @@ TEST_F(COSXKeyStateTests, fakeAndPoll_charKeyAndModifier) bool COSXKeyStateTests::isKeyPressed(const COSXKeyState& keyState, KeyButton button) { - // allow os to realize key state changes. - ARCH->sleep(.01); + // HACK: allow os to realize key state changes. + ARCH->sleep(1); IKeyState::KeyButtonSet pressed; keyState.pollPressedKeys(pressed);