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

index 317edfed9b6ac36c77f1ddb88565df8b5e2669e4..0c74eb5d67631fa97d05867d974355fc1ddf7dd4 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 (!output.toFile().exists())\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 ouptput = Paths.get(input.getParent().toString(), outputName);\r
                Files.copy(input, ouptput);\r
                if (!ouptput.toFile().exists())\r
-                       throw new Exception("File not exists: " + ouptput);\r
+                       throw new Exception("File does not exist: " + ouptput);\r
 \r
                ArchiveItem archiveItem = new ArchiveItem();\r
                archiveItem.setMediaFile(ouptput.toString());\r