[common][tct-sensor-tizen-tests][Update tc to fix issue] 67/119967/1
authorxy.qian <xy.qian@samsung.com>
Tue, 21 Mar 2017 02:35:27 +0000 (10:35 +0800)
committerxy.qian <xy.qian@samsung.com>
Tue, 21 Mar 2017 02:35:27 +0000 (10:35 +0800)
Change-Id: Ifd12499a3e9348d012974c8d67d0bc4fd115b032
Signed-off-by: xy.qian <xy.qian@samsung.com>
common/tct-sensor-tizen-tests/sensor/Sensor_setChangeListener_with_default_interval.html

index 0c93ce1c59750dba83af606c3b3af060ae0b9ca1..c020b7ce1a9a7c6d6e85b9f7b2efeb5a0720480e 100755 (executable)
@@ -65,7 +65,7 @@ t.step(function () {
     onchangedCB = t.step_func(function (sensorData) {
         if (cbFlag == 1) {
             endMeasure = new Date().getTime();
-            assert_approx_equals(endMeasure - startMeasure, 100, 10, "Callback should be invoked in given interval time.");
+            assert_less_than(endMeasure - startMeasure, 100, "Callback should be invoked in given interval time.");
             t.done();
         }
         if (cbFlag == 0) {