Update git submodules
* Update glance from branch 'master' - Merge "Windows: fix flaky tests" - Windows: fix flaky tests Some tests compare timestamps (e.g. image created_at/updated_at fields). In some cases, subsequent timestamps may be identical, breaking the assertions made by those tests. One idea is to just add a 1ms sleep which should be a negligeable. Mocking the functions used to retrieve timestamps may be undesireable. For now, we'll do this only for Windows, where time.time has a lower resolution compared to Linux (1e-7 as opposed to 1e-9). At the same time, socket timeouts are rather inconsistent on Windows. When a timeout is hit, recv may either throw ConnectionAbortedError *or* return nothing. This needs to be taken into account when expecting socket timeouts. Change-Id: Ie5a4d8fb4c979c09eda2fdc0fad0baa1d1840c59
This commit is contained in:
parent
36a22ec551
commit
6f18ee699b
2
glance
2
glance
@ -1 +1 @@
|
||||
Subproject commit 098d78a036b682fbf0a4704f1b8ffbff31c46cbb
|
||||
Subproject commit e593e9bc866e9be5842ab6a8ddfe1f24875c7d0a
|
Loading…
Reference in New Issue
Block a user