mbed-os/TESTS/mbed_hal
Marcus Chang d60bed2da9 Increase clock tolerance in Flash HAL test
The current 0.1% clock tolerance is too small for certain platforms
which natural variance is larger than this. This commit increases the
tolerance to 0.5% instead.

Sample output from time_cpu_cycles called repeatedly in init,
before running any flash tests:

[1515706585.63][CONN][RXD] diff: 49316
[1515706585.69][CONN][RXD] diff: 49256
[1515706585.75][CONN][RXD] diff: 49286
[1515706585.81][CONN][RXD] diff: 49256
[1515706585.87][CONN][RXD] diff: 49225
[1515706585.94][CONN][RXD] diff: 49286
[1515706585.99][CONN][RXD] diff: 49317
[1515706586.06][CONN][RXD] diff: 49255
[1515706586.12][CONN][RXD] diff: 49286
[1515706586.18][CONN][RXD] diff: 49285
[1515706586.24][CONN][RXD] diff: 49286
[1515706586.31][CONN][RXD] diff: 49347
[1515706586.36][CONN][RXD] diff: 49347
[1515706586.43][CONN][RXD] diff: 49286
[1515706586.49][CONN][RXD] diff: 49286
[1515706586.55][CONN][RXD] diff: 49256
[1515706586.61][CONN][RXD] diff: 49286
[1515706586.68][CONN][RXD] diff: 49346
[1515706586.74][CONN][RXD] diff: 49347
[1515706586.80][CONN][RXD] diff: 49256

Notice the outliers will cause intermittent CI failures.
2018-01-11 13:44:51 -08:00
..
flash/functional_tests Increase clock tolerance in Flash HAL test 2018-01-11 13:44:51 -08:00
lp_ticker Test: deepsleep() API replacement 2017-10-05 16:43:57 +01:00
lp_us_tickers test: add hal ticker test (us + lp tickers) 2017-07-26 17:05:51 +01:00
rtc_time Add tests for extended RTC. 2017-12-05 07:53:41 +01:00
rtc_time_conv Add tests for extended RTC. 2017-12-05 07:53:41 +01:00
sleep_manager test: add sleep manager tests 2017-09-07 15:35:07 +01:00
sleep_manager_racecondition sleep manager test: fix Thread stack size 2017-09-09 20:42:55 -05:00
ticker Increase ticker test time for slower devices 2017-10-05 11:57:35 -05:00