revert commons-io to 2.6 (#11392)

* * revert commons-io to 2.6

* * fix failing tests
This commit is contained in:
zachjsh 2021-06-30 02:04:38 -04:00 committed by GitHub
parent 3ad6a3d74f
commit 8037a54525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 5 deletions

View File

@ -9,3 +9,5 @@ updates:
# pin ZooKeeper dependencies to 3.5.x
- dependency-name: "org.apache.zookeeper"
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"

View File

@ -35,7 +35,7 @@
<properties>
<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>
<repositories>

View File

@ -545,13 +545,13 @@ name: Apache Commons IO
license_category: binary
module: java-core
license_name: Apache License version 2.0
version: 2.9.0
version: 2.6
libraries:
- commons-io: commons-io
notices:
- commons-io: |
Apache Commons IO
Copyright 2002-2021 The Apache Software Foundation
Copyright 2002-2017 The Apache Software Foundation
---

View File

@ -223,7 +223,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.9.0</version>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>

View File

@ -153,7 +153,7 @@ public class LocalDataSegmentPusherTest
public void testPushCannotCreateDirectory() throws IOException
{
exception.expect(IOException.class);
exception.expectMessage("Cannot create directory");
exception.expectMessage("Unable to create directory");
config.storageDirectory = new File(config.storageDirectory, "xxx");
Assert.assertTrue(config.storageDirectory.mkdir());
config.storageDirectory.setWritable(false);