You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by fo...@apache.org on 2023/01/23 17:57:53 UTC

[jackrabbit-oak] branch OAK-10081 created (now 1c2847f0de)

This is an automated email from the ASF dual-hosted git repository.

fortino pushed a change to branch OAK-10081
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


      at 1c2847f0de OAK-10081: (tests) create temp folders in .target to avoid leftovers on some platforms

This branch includes the following new commits:

     new 1c2847f0de OAK-10081: (tests) create temp folders in .target to avoid leftovers on some platforms

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[jackrabbit-oak] 01/01: OAK-10081: (tests) create temp folders in .target to avoid leftovers on some platforms

Posted by fo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fortino pushed a commit to branch OAK-10081
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git

commit 1c2847f0deb3a01cf6329d228a2f8e7f26c2239d
Author: fabriziofortino <fa...@gmail.com>
AuthorDate: Mon Jan 23 18:57:35 2023 +0100

    OAK-10081: (tests) create temp folders in .target to avoid leftovers on some platforms
---
 .../java/org/apache/jackrabbit/oak/run/DataStoreCopyCommandTest.java  | 2 +-
 .../src/test/java/org/apache/jackrabbit/oak/run/DownloaderTest.java   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DataStoreCopyCommandTest.java b/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DataStoreCopyCommandTest.java
index 730306254b..1ff9af47a2 100644
--- a/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DataStoreCopyCommandTest.java
+++ b/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DataStoreCopyCommandTest.java
@@ -57,7 +57,7 @@ public class DataStoreCopyCommandTest {
     private static final ImmutableSet<String> BLOBS = ImmutableSet.of(BLOB1, BLOB2);
 
     @Rule
-    public TemporaryFolder outDir = new TemporaryFolder();
+    public TemporaryFolder outDir = new TemporaryFolder(new File("target"));
 
     private CloudBlobContainer container;
 
diff --git a/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DownloaderTest.java b/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DownloaderTest.java
index 88346e8549..e8fc5b471f 100644
--- a/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DownloaderTest.java
+++ b/oak-run/src/test/java/org/apache/jackrabbit/oak/run/DownloaderTest.java
@@ -35,10 +35,10 @@ import static org.junit.Assert.assertTrue;
 public class DownloaderTest {
 
     @Rule
-    public TemporaryFolder sourceFolder = new TemporaryFolder();
+    public TemporaryFolder sourceFolder = new TemporaryFolder(new File("target"));
 
     @Rule
-    public TemporaryFolder destinationFolder = new TemporaryFolder();
+    public TemporaryFolder destinationFolder = new TemporaryFolder(new File("target"));
 
     @Before
     public void setUp() throws IOException {