Code Review
/
controller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
baca0f4
)
Fix unit test with Java 9+
01/79101/2
author
Robert Varga
<robert.varga@pantheon.tech>
Tue, 1 Jan 2019 21:32:01 +0000
(22:32 +0100)
committer
Robert Varga
<robert.varga@pantheon.tech>
Tue, 1 Jan 2019 22:13:54 +0000
(23:13 +0100)
With https://bugs.openjdk.java.net/browse/JDK-
8068730
Instant.now()
has microsecond precision, which leads to a comparison failure.
Fix this by truncating the result of Instant.now() to milliseconds.
Change-Id: Ida8172e5b02cf352325e6f516e19592be4a83d67
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
No differences found