fix random UT fails

Tests TestNumericThresholdWithDwellTime/SleepAfterEveryUpdate/2, 6 and 9
could fail randomly because next update happened at the same time when
timer from one of previous updates was supposed to expire - if update
got processed first, timer was canceled and test failed

Tested:
Before this change UTs failed almost 100% of the time on my machine,
with this change 0 failures in 500 iterations

Change-Id: I11940027fca377b7be67cb82b638bf162616d37e
Signed-off-by: Boleslaw Ogonczyk Makowski <boleslawx.ogonczyk-makowski@intel.com>
diff --git a/tests/src/test_numeric_threshold.cpp b/tests/src/test_numeric_threshold.cpp
index 2bcbfac..c2243ef 100644
--- a/tests/src/test_numeric_threshold.cpp
+++ b/tests/src/test_numeric_threshold.cpp
@@ -401,8 +401,8 @@
             .ThresholdValue(90.0)
             .Direction(numeric::Direction::increasing)
             .InitialValues({80.0})
-            .Updates({{0, 99.0, 200ms}, {0, 80.0, 100ms}, {0, 98.0, 200ms}})
-            .Expected({{0, 99.0, 200ms}, {0, 98.0, 500ms}}),
+            .Updates({{0, 99.0, 210ms}, {0, 80.0, 100ms}, {0, 98.0, 200ms}})
+            .Expected({{0, 99.0, 210ms}, {0, 98.0, 510ms}}),
         NumericParams()
             .DwellTime(200ms)
             .ThresholdValue(90.0)
@@ -429,8 +429,8 @@
             .ThresholdValue(90.0)
             .Direction(numeric::Direction::decreasing)
             .InitialValues({100.0})
-            .Updates({{0, 80.0, 200ms}, {0, 99.0, 100ms}, {0, 85.0, 200ms}})
-            .Expected({{0, 80.0, 200ms}, {0, 85.0, 500ms}}),
+            .Updates({{0, 80.0, 210ms}, {0, 99.0, 100ms}, {0, 85.0, 200ms}})
+            .Expected({{0, 80.0, 210ms}, {0, 85.0, 510ms}}),
         NumericParams()
             .DwellTime(200ms)
             .ThresholdValue(90.0)
@@ -450,8 +450,8 @@
             .ThresholdValue(90.0)
             .Direction(numeric::Direction::either)
             .InitialValues({100.0})
-            .Updates({{0, 80.0, 100ms}, {0, 85.0, 100ms}, {0, 91.0, 200ms}})
-            .Expected({{0, 80.0, 200ms}, {0, 91.0, 400ms}}),
+            .Updates({{0, 80.0, 100ms}, {0, 85.0, 110ms}, {0, 91.0, 200ms}})
+            .Expected({{0, 80.0, 200ms}, {0, 91.0, 410ms}}),
         NumericParams()
             .DwellTime(200ms)
             .ThresholdValue(90.0)