[java-idp-integration-tests] branch main updated: Copy rather than move JAR

Tom Zeller tzeller at dragonacea.biz
Thu May 4 22:08:03 UTC 2023


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=367f1c15906eb11aed3c05a82f4c221abc822dfe

The following commit(s) were added to refs/heads/main by this push:
     new 367f1c1  Copy rather than move JAR
367f1c1 is described below

commit 367f1c15906eb11aed3c05a82f4c221abc822dfe
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu May 4 17:07:56 2023 -0500

    Copy rather than move JAR
---
 .../idp/integration/tests/saml2/SAML2AttributeQueryIntegrationTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/saml2/SAML2AttributeQueryIntegrationTest.java b/src/test/java/net/shibboleth/idp/integration/tests/saml2/SAML2AttributeQueryIntegrationTest.java
index 4deb805..4f043f4 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/saml2/SAML2AttributeQueryIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/saml2/SAML2AttributeQueryIntegrationTest.java
@@ -274,7 +274,7 @@ public class SAML2AttributeQueryIntegrationTest extends AbstractSAML2Integration
             final Path pathToTarget = pathToTomcatBase.resolve(Paths.get("lib", "trustany-ssl-1.0.0.jar"));
             Assert.assertFalse(pathToTarget.toFile().exists());
 
-            Files.move(pathToSource, pathToTarget, StandardCopyOption.ATOMIC_MOVE);
+            Files.copy(pathToSource, pathToTarget, StandardCopyOption.REPLACE_EXISTING);
 
             // Add connector definition to CATALINA_BASE/conf/server.xml
             final Path pathToServerXml = pathToTomcatBase.resolve(Paths.get("conf", "server.xml"));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list