commit | 507a8f5bc3ca8ad05b08c43c278ca407220a3cd6 | [log] [tgz] |
---|---|---|
author | greyp9 <greyp9@users.noreply.github.com> | Wed Oct 13 21:10:19 2021 -0400 |
committer | GitHub <noreply@github.com> | Wed Oct 13 21:10:19 2021 -0400 |
tree | 8581fd8d8a07802e36b20fb91be2bf27c4df17b0 | |
parent | 1b69c1f9f1f7fea5360744154596426d2fcd9eb9 [diff] |
NIFI-9299 - junit test failure (#5455)
diff --git a/nifi-api/src/test/java/org/apache/nifi/components/resource/TestStandardResourceReferenceFactory.java b/nifi-api/src/test/java/org/apache/nifi/components/resource/TestStandardResourceReferenceFactory.java index 35a274f..5a297d9 100644 --- a/nifi-api/src/test/java/org/apache/nifi/components/resource/TestStandardResourceReferenceFactory.java +++ b/nifi-api/src/test/java/org/apache/nifi/components/resource/TestStandardResourceReferenceFactory.java
@@ -19,6 +19,7 @@ import org.junit.jupiter.api.Test; +import java.io.File; import java.util.Collections; import java.util.List; @@ -81,7 +82,7 @@ } private void assertResourceReference(ResourceReference resourceReference, String location) { - assertEquals(location, resourceReference.getLocation()); + assertEquals(new File(location).getAbsolutePath(), resourceReference.getLocation()); assertEquals(ResourceType.FILE, resourceReference.getResourceType()); }