mirror of
https://github.com/apache/nifi.git
synced 2025-03-01 15:09:11 +00:00
NIFI-9181 Prevent unwanted test artifacts in Windows builds
This closes #5355 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
d702506f0d
commit
05adcbcc61
@ -49,7 +49,7 @@ public class TestZooKeeperStateServer {
|
||||
|
||||
@BeforeClass
|
||||
public static void setup() throws IOException, ConfigException {
|
||||
tempDir = Paths.get("target/TestZooKeeperStateServer");
|
||||
tempDir = Paths.get("target", "TestZooKeeperStateServer");
|
||||
dataDir = tempDir.resolve("state");
|
||||
zkServerConfig = tempDir.resolve("zookeeper.properties");
|
||||
clientPort = InstanceSpec.getRandomPort();
|
||||
|
@ -105,7 +105,7 @@ public class ExecuteGroovyScriptTest {
|
||||
Assume.assumeTrue("Test only runs on *nix", !SystemUtils.IS_OS_WINDOWS);
|
||||
FileUtils.copyDirectory(new File("src/test/resources"), new File("target/test/resources"));
|
||||
//prepare database connection
|
||||
System.setProperty("derby.stream.error.file", "target/derby.log");
|
||||
System.setProperty("derby.stream.error.file", "target" + File.separator + "derby.log");
|
||||
|
||||
// remove previous test database, if any
|
||||
final File dbLocation = new File(DB_LOCATION);
|
||||
|
Loading…
x
Reference in New Issue
Block a user