mirror of https://github.com/apache/druid.git
revert commons-io to 2.6 (#11392)
* * revert commons-io to 2.6 * * fix failing tests
This commit is contained in:
parent
3ad6a3d74f
commit
8037a54525
|
@ -9,3 +9,5 @@ updates:
|
||||||
# pin ZooKeeper dependencies to 3.5.x
|
# pin ZooKeeper dependencies to 3.5.x
|
||||||
- dependency-name: "org.apache.zookeeper"
|
- dependency-name: "org.apache.zookeeper"
|
||||||
versions: "[3.6,)"
|
versions: "[3.6,)"
|
||||||
|
# Keep commons-io at 2.6 until https://issues.apache.org/jira/browse/IO-741 is resolved
|
||||||
|
- dependency-name: "commons-io:commons-io"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<confluent.version>6.0.1</confluent.version>
|
<confluent.version>6.0.1</confluent.version>
|
||||||
<commons-io.version>2.9.0</commons-io.version>
|
<commons-io.version>2.6</commons-io.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
|
|
@ -545,13 +545,13 @@ name: Apache Commons IO
|
||||||
license_category: binary
|
license_category: binary
|
||||||
module: java-core
|
module: java-core
|
||||||
license_name: Apache License version 2.0
|
license_name: Apache License version 2.0
|
||||||
version: 2.9.0
|
version: 2.6
|
||||||
libraries:
|
libraries:
|
||||||
- commons-io: commons-io
|
- commons-io: commons-io
|
||||||
notices:
|
notices:
|
||||||
- commons-io: |
|
- commons-io: |
|
||||||
Apache Commons IO
|
Apache Commons IO
|
||||||
Copyright 2002-2021 The Apache Software Foundation
|
Copyright 2002-2017 The Apache Software Foundation
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -223,7 +223,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-io</groupId>
|
<groupId>commons-io</groupId>
|
||||||
<artifactId>commons-io</artifactId>
|
<artifactId>commons-io</artifactId>
|
||||||
<version>2.9.0</version>
|
<version>2.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-logging</groupId>
|
<groupId>commons-logging</groupId>
|
||||||
|
|
|
@ -153,7 +153,7 @@ public class LocalDataSegmentPusherTest
|
||||||
public void testPushCannotCreateDirectory() throws IOException
|
public void testPushCannotCreateDirectory() throws IOException
|
||||||
{
|
{
|
||||||
exception.expect(IOException.class);
|
exception.expect(IOException.class);
|
||||||
exception.expectMessage("Cannot create directory");
|
exception.expectMessage("Unable to create directory");
|
||||||
config.storageDirectory = new File(config.storageDirectory, "xxx");
|
config.storageDirectory = new File(config.storageDirectory, "xxx");
|
||||||
Assert.assertTrue(config.storageDirectory.mkdir());
|
Assert.assertTrue(config.storageDirectory.mkdir());
|
||||||
config.storageDirectory.setWritable(false);
|
config.storageDirectory.setWritable(false);
|
||||||
|
|
Loading…
Reference in New Issue