commit | e7c68fb77a1317f71802245eb5ff5e8333f2779a | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Mon Feb 26 18:09:32 2018 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Feb 26 18:09:32 2018 +0300 |
tree | 08ee84a0ed13aa3308e27097e428cfb91387f0b2 | |
parent | f661c3694b67eed0478b7c9e9259cebb2627654d [diff] |
Tests: adjusted proxy variables time checks. Strict ">= 1" check may fail if timekeeping is not precise, and sleep(1) results in something like 0.999 time in headers. In particular, this happens when using clock_gettime(CLOCK_MONOTONIC_COARSE) for ngx_current_msec on Ubuntu 16.04. To fix this, sleep(1) replaced with select(1.1).