diff --git a/lang/java/gradle-plugin/src/test/groovy/org/apache/avro/SchemaResolverSpec.groovy b/lang/java/gradle-plugin/src/test/groovy/org/apache/avro/SchemaResolverSpec.groovy index a267878f46b..60cf3f555d7 100644 --- a/lang/java/gradle-plugin/src/test/groovy/org/apache/avro/SchemaResolverSpec.groovy +++ b/lang/java/gradle-plugin/src/test/groovy/org/apache/avro/SchemaResolverSpec.groovy @@ -109,7 +109,7 @@ class SchemaResolverSpec extends Specification { def "Duplicate record definition succeeds if definition identical"() { given: def resourceNames = ["Person.avsc", "Fish.avsc"] - def files = resourceNames.collect { new File("org/apache/avro/duplicate/${it}") } + def files = resourceNames.collect { new File("src/test/resources/org/apache/avro/duplicate/${it}") } when: def processingState = resolver.resolve(files)