summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Xie <dxie@google.com>2015-12-03 01:35:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-12-03 01:35:11 +0000
commit35bb8ddaff47380e7abc0e934265138e2e9b7b76 (patch)
tree422e84ce70c6882898a2eeae1fcb166f8435e05d
parent6da20c2a30239de76bfd9989cf9a758db94b2860 (diff)
parentdbb8202b051b096040ef12d794cf1f580dd0974a (diff)
downloadlibcore-35bb8ddaff47380e7abc0e934265138e2e9b7b76.zip
libcore-35bb8ddaff47380e7abc0e934265138e2e9b7b76.tar.gz
libcore-35bb8ddaff47380e7abc0e934265138e2e9b7b76.tar.bz2
Merge "Fix time calculation in test_SSLSession_getLastAccessedTime" into marshmallow-cts-dev am: 79810ceebb am: 0730bd1afd
am: dbb8202b05 * commit 'dbb8202b051b096040ef12d794cf1f580dd0974a': Fix time calculation in test_SSLSession_getLastAccessedTime
-rw-r--r--luni/src/test/java/libcore/javax/net/ssl/SSLSessionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/test/java/libcore/javax/net/ssl/SSLSessionTest.java b/luni/src/test/java/libcore/javax/net/ssl/SSLSessionTest.java
index a434d94..bc2b626 100644
--- a/luni/src/test/java/libcore/javax/net/ssl/SSLSessionTest.java
+++ b/luni/src/test/java/libcore/javax/net/ssl/SSLSessionTest.java
@@ -99,7 +99,7 @@ public class SSLSessionTest extends TestCase {
assertTrue("s.server.getLastAccessedTime()=" + s.server.getLastAccessedTime() + " " +
"s.client.getLastAccessedTime()=" + s.client.getLastAccessedTime(),
Math.abs(s.server.getLastAccessedTime()
- - s.client.getLastAccessedTime()) < 1 * 1000);
+ - s.client.getLastAccessedTime()) <= 1 * 1000);
assertTrue(s.server.getLastAccessedTime() >=
s.server.getCreationTime());
assertTrue(s.client.getLastAccessedTime() >=