Ahmet Alp Balkan
76ab368c1d
integ-cli: fix clock skew against remote test daemon
...
This fixes the `docker events`-related tests as they have been
failing due to clock skew between CI machine and test daemon on
some other machine (even 1-2 seconds of diff causes races as
we pass local time to --since/--until).
If we're running in same host, we keep using time.Now(), otherwise
we read the system time of the daemon from `/info` endpoint.
Fixes pretty much all events-related tests on windows CI.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com >
Upstream-commit: e424c54d9c4030dc3290701e8e76add372e09e08
Component: engine
2015-03-11 10:28:56 -07:00
..
2015-02-12 15:11:19 -08:00
2015-03-10 05:47:12 -07:00
2015-01-23 16:18:39 -08:00
2015-02-20 14:04:36 -08:00
2014-12-01 17:54:15 -05:00
2014-12-12 10:58:56 -08:00
2015-01-22 17:28:35 -05:00
2015-03-09 17:00:45 -07:00
2015-02-26 20:08:16 -08:00
2015-03-05 15:22:08 -08:00
2015-03-04 06:04:25 -08:00
2015-03-04 08:28:32 -08:00
2015-01-30 09:30:42 +00:00
2015-03-11 10:28:56 -07:00
2015-03-11 10:28:56 -07:00
2015-03-06 14:46:58 -08:00
2015-02-13 22:12:06 -08:00
2015-03-11 21:24:30 +08:00
2015-02-09 18:01:52 -05:00
2015-02-17 19:29:17 -08:00
2015-02-18 23:46:25 -07:00
2014-11-05 08:26:22 -08:00
2015-01-23 16:18:39 -08:00
2014-10-16 15:05:00 -07:00
2015-03-04 06:04:25 -08:00
2015-01-17 07:05:56 -05:00
2014-10-30 22:24:57 +02:00
2015-03-04 06:04:25 -08:00
2015-03-11 10:28:56 -07:00
2015-02-20 14:04:36 -08:00
2015-03-09 09:09:52 -07:00
2015-02-20 14:04:36 -08:00
2015-02-05 17:46:55 -08:00
2015-03-09 18:33:15 -07:00
2015-02-27 22:40:04 +00:00
2015-02-20 14:04:36 -08:00
2015-03-04 06:04:25 -08:00
2015-03-04 13:21:59 -08:00
2015-03-10 12:12:40 -07:00
2015-03-04 08:28:32 -08:00
2015-02-25 15:53:07 -08:00
2015-01-14 00:31:25 +02:00
2014-11-05 08:26:22 -08:00
2015-03-08 13:44:25 +08:00
2015-02-09 18:01:52 -05:00
2014-10-16 15:06:20 -07:00
2015-02-23 14:32:25 -08:00
2015-02-17 00:43:41 -08:00
2015-02-17 00:43:41 -08:00
2015-01-09 17:28:40 -07:00
2015-03-11 10:28:56 -07:00
2015-02-02 14:53:20 -08:00
2015-03-05 00:22:01 -05:00
2015-02-20 23:24:30 -08:00
2015-02-20 23:24:30 -08:00
2015-03-04 14:10:37 -08:00
2015-03-04 14:10:37 -08:00
2015-03-04 03:54:33 -08:00