Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 7c33f29d51082d693c0653df84cb13f2b946eec8 https://github.com/Linaro/odp/commit/7c33f29d51082d693c0653df84cb13f2b946eec8 Author: Maxim Uvarov <maxim.uva...@linaro.org> Date: 2018-06-22 (Fri, 22 Jun 2018)
Changed paths: M test/common/odp_cunit_common.c M test/common/odp_cunit_common.h M test/validation/api/traffic_mngr/traffic_mngr.c Log Message: ----------- test: cunit: tm fix tm execution under CI Some test like this can fail under not clear environment. Make CI env detection more general with implementing helper function. Test: traffic_mngr_test_shaper ... traffic_mngr.c:2531:test_shaper_bw():min=0 avg_rcv_gap=180 max=249 std_dev_gap=109 traffic_mngr.c:2534:test_shaper_bw(): expected_rcv_gap=250 acceptable rcv_gap range=198..314 FAILED 1. traffic_mngr.c:2549 - (min_rcv_gap <= avg_rcv_gap) && (avg_rcv_gap <= max_rcv_gap) 2. traffic_mngr.c:3842 - test_shaper_bw("bw40", "node_1_1_1", 3, 40 * MBPS) == 0 Test: traffic_mngr_test_scheduler ...passed Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.