git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Mon, 2 May 2022 09:22:57 +0000 (09:22 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Mon, 2 May 2022 09:22:57 +0000 (09:22 +0000)
server/-product/production/LOCAL/jobs/steps/IntegrationTestStep.java

index 9d1838cdc329128f54bbba8c966548999b2549bc..081d02d8688b323c451dbed765c5b7076bc5cf5f 100644 (file)
@@ -51,7 +51,7 @@ public class IntegrationTestStep extends JobStep {
                Path output = Paths.get("/mediacube/data", archivedMedia.getMedia().getHouseId(),\r
                                archivedMedia.getMedia().getHouseId() + "-ARCH-" + archivedMedia.getMedia().getMediaFileRealName());\r
                if (!Files.exists(output))\r
-                       throw new Exception("File not exists: " + output);\r
+                       throw new Exception("File does not exist: " + output);\r
 \r
                logger.info("_01_test_retrieve_ondemand SUCCESS");\r
        }\r
@@ -64,7 +64,7 @@ public class IntegrationTestStep extends JobStep {
                Path output = Paths.get(input.getParent().toString(), outputName);\r
                Files.copy(input, output);\r
                if (!Files.exists(output))\r
-                       throw new Exception("File not exists: " + output);\r
+                       throw new Exception("File does not exist: " + output);\r
 \r
                ArchiveItem archiveItem = new ArchiveItem();\r
                archiveItem.setMediaFile(output.toString());\r