diff --git a/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java b/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java index 6a2d65a738..72ebc0c098 100644 --- a/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java +++ b/linkis-public-enhancements/linkis-publicservice/src/test/java/org/apache/linkis/filesystem/restful/api/FsRestfulApiTest.java @@ -207,7 +207,7 @@ public void openLogTest() throws Exception { Mockito.when(fsService.getFileSystem(Mockito.anyString(), Mockito.any(FsPath.class))) .thenReturn(fs); - String path = this.getClass().getResource("/").getPath() + "info.txt"; + String path = this.getClass().getResource("/").getPath() + "info.text"; MvcResult mvcResult = mockMvc diff --git a/linkis-public-enhancements/linkis-publicservice/src/test/resources/info.txt b/linkis-public-enhancements/linkis-publicservice/src/test/resources/info.text similarity index 100% rename from linkis-public-enhancements/linkis-publicservice/src/test/resources/info.txt rename to linkis-public-enhancements/linkis-publicservice/src/test/resources/info.text