[arvados] updated: 2.7.1-53-g3e86990ed1
git repository hosting
git at public.arvados.org
Tue Apr 9 20:49:10 UTC 2024
Summary of changes:
.../src/test/java/org/arvados/client/logic/keep/FileDownloaderTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 3e86990ed14f3266294d2e19d9f1a1292a9742f3 (commit)
from 864d721d5c32b3fdb260fbc1e3ddb5170bd670c5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 3e86990ed14f3266294d2e19d9f1a1292a9742f3
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Tue Apr 9 16:48:25 2024 -0400
Tweak test to maintain JDK 8 support for the time being, no issue #
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/sdk/java-v2/src/test/java/org/arvados/client/logic/keep/FileDownloaderTest.java b/sdk/java-v2/src/test/java/org/arvados/client/logic/keep/FileDownloaderTest.java
index 741f80f7c9..aaaa420a18 100644
--- a/sdk/java-v2/src/test/java/org/arvados/client/logic/keep/FileDownloaderTest.java
+++ b/sdk/java-v2/src/test/java/org/arvados/client/logic/keep/FileDownloaderTest.java
@@ -138,7 +138,7 @@ public class FileDownloaderTest {
//then
assertNotNull(downloadedFile);
assertTrue(downloadedFile.exists());
- String actualDataString = Files.readString(downloadedFile.toPath());
+ String actualDataString = new String(Files.readAllBytes(downloadedFile.toPath()));
assertEquals("The content of the file does not match the expected data.", expectedDataString, actualDataString);
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list