From 01f354275a4d347482012ead9464b1fe9ae2fb68 Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Tue, 1 Mar 2022 11:31:10 +0100 Subject: [PATCH] test: fix retrieve url --- src/test/java/org/dcache/nearline/cta/RequestsFactoryTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/dcache/nearline/cta/RequestsFactoryTest.java b/src/test/java/org/dcache/nearline/cta/RequestsFactoryTest.java index 31a1289..854fc3f 100644 --- a/src/test/java/org/dcache/nearline/cta/RequestsFactoryTest.java +++ b/src/test/java/org/dcache/nearline/cta/RequestsFactoryTest.java @@ -89,7 +89,7 @@ public void testRetrieve() { var pnfsid = "0000C9B4E3768770452E8B1B8E0232584872"; var archiveId = 12345L; - var uri = URI.create(String.format("cta://cta?archiveid=%d", archiveId)); + var uri = URI.create(String.format("cta://cta/%s?archiveid=%d", pnfsid, archiveId)); var storageInfo = GenericStorageInfo.valueOf("a:b@z", "*"); storageInfo.addLocation(uri);