notification: delay timeout for test in secured mode
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 15 Feb 2017 10:24:58 +0000 (11:24 +0100)
committerPhil Coval <philippe.coval@osg.samsung.com>
Tue, 21 Feb 2017 08:58:55 +0000 (08:58 +0000)
commit22fac3916a07b81a046ef6ea9b31fe701f9142ec
treed545cadd014ff0a81390a238ef2b487501202c5e
parent4a288e94d8f89dc7d73b0997d04df530e0f7f52b
notification: delay timeout for test in secured mode

timeout have been arbitrary doubled to prevent issues like:

  Segmentation fault (core dumped)
  scons: *** [out/linux/x86_64/debug/service/notification/unittest/utservice/notification/unittest/notification_consumer_test] Error 139
  service/notification/unittest/NSProviderTest.cpp:238: Failure
  Expected: (nullptr) != (g_consumerID), actual: 8-byte object <00-00 00-00 00-00 00-00> vs NULL
  error: discovery failure

If problem is still happening, it can be bigger, please raise bugs.

Change-Id: Ief98f156a870d9a346fc6507e2a26bc063cbceae
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17297
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
service/notification/unittest/NSConsumerTest.cpp
service/notification/unittest/NSProviderTest.cpp