diff options
| author | Yi Kong <yikong@google.com> | 2016-10-31 15:27:43 +0800 |
|---|---|---|
| committer | Yi Kong <yikong@google.com> | 2016-10-31 17:15:09 +0800 |
| commit | 44c55c5b639d6c1eea6eeae8414ef9df95b67bb7 (patch) | |
| tree | 4fc3617102f9e30946b3cb62683443aaf1c524c8 /include/ScopedJavaUnicodeString.h | |
| parent | ae7c1851b7d11f297b38646ca6c0db1fb10f9056 (diff) | |
Fix URLConnectionTest.test_setReadTimeoutI on host test
This was failing because the test assumes that read will not complete
within 1ms, while it is still possible, especially on host tests.
This patch introduces a minimum time delay before the TestWebServer
sends data.
Bug: 32363029
Test: org.apache.harmony.luni.tests.java.net.URLConnectionTest#test_setReadTimeoutI under host tests
Change-Id: Ibb4e2125f99b0544d0f09331b4ab9b0448b14035
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
