From e4e22edb0cbdd895d5c277a6465b8dd01e52429e Mon Sep 17 00:00:00 2001 From: Pawel Winogrodzki Date: Thu, 16 Feb 2017 12:40:31 -0800 Subject: [PATCH] IOT-1807: Disabling discovery tests to improve productivity of other developers. More details: 1. Tests don't check if the timeout has been hit, so they do not report failures properly. By looking at Jenkins it's clear, that the timeout issue is happening in most cases. 2. The tests fail randomly from time to time, if the test's callback is called, so the timeout is NOT hit and the tests are actually doing their job, indicating that something works incorrectly. This change is ment to prevent other developers from being disturbed by the random test failures, which should be eventually fixed in IOT-1807. Change-Id: Ibe25cd2adc74ec0676719a1ec506977c35ec20ce Signed-off-by: Pawel Winogrodzki Reviewed-on: https://gerrit.iotivity.org/gerrit/17327 Tested-by: jenkins-iotivity Reviewed-by: Dan Mihai --- resource/csdk/stack/test/stacktests.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resource/csdk/stack/test/stacktests.cpp b/resource/csdk/stack/test/stacktests.cpp index 15ecd31..524a1e5 100644 --- a/resource/csdk/stack/test/stacktests.cpp +++ b/resource/csdk/stack/test/stacktests.cpp @@ -2475,7 +2475,8 @@ static OCStackApplicationResult DiscoverUnicastErrorResponse(void *ctx, OCDoHand return OC_STACK_DELETE_TRANSACTION; } -TEST_F(OCDiscoverTests, DiscoverResourceWithValidQueries) +// Disabled to unblock other developers untill IOT-1807 is done. +TEST_F(OCDiscoverTests, DISABLED_DiscoverResourceWithValidQueries) { itst::DeadmanTimer killSwitch(LONG_TEST_TIMEOUT); @@ -2508,7 +2509,8 @@ TEST_F(OCDiscoverTests, DiscoverResourceWithValidQueries) discoverRTCB.Wait(100); } -TEST_F(OCDiscoverTests, DiscoverResourceWithInvalidQueries) +// Disabled to unblock other developers untill IOT-1807 is done. +TEST_F(OCDiscoverTests, DISABLED_DiscoverResourceWithInvalidQueries) { itst::DeadmanTimer killSwitch(LONG_TEST_TIMEOUT); -- 2.7.4