diff --git a/schema-registry/spring-cloud-stream-schema-registry-client/src/test/java/org/springframework/cloud/stream/schema/avro/AvroSchemaServiceManagerTests.java b/schema-registry/spring-cloud-stream-schema-registry-client/src/test/java/org/springframework/cloud/stream/schema/avro/AvroSchemaServiceManagerTests.java index 10614629d..a7a2b0584 100644 --- a/schema-registry/spring-cloud-stream-schema-registry-client/src/test/java/org/springframework/cloud/stream/schema/avro/AvroSchemaServiceManagerTests.java +++ b/schema-registry/spring-cloud-stream-schema-registry-client/src/test/java/org/springframework/cloud/stream/schema/avro/AvroSchemaServiceManagerTests.java @@ -66,7 +66,7 @@ public class AvroSchemaServiceManagerTests { foodOrder.setRestaurant("Spring Kitchen"); foodOrder.setOrderDescription("avro makhani"); foodOrder.setCustomerAddress("world wide web"); - File file = new File("foodorder.avro"); + File file = new File("target/foodorder.avro"); DatumWriter datumWriter = defaultServiceManager.getDatumWriter(foodOrder.getClass(), schema); DataFileWriter dataFileWriter = new DataFileWriter(datumWriter);