Skip to content
Snippets Groups Projects
Commit 96dfe05f authored by cramakri's avatar cramakri
Browse files

BIS-38 SP-204 : Improved message in case of file length difference.

SVN: 26276
parent a46057da
No related branches found
No related tags found
No related merge requests found
...@@ -420,7 +420,7 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPlugin implements IPr ...@@ -420,7 +420,7 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPlugin implements IPr
public String getDescription() public String getDescription()
{ {
return "'" + getPath() + "' size in the file system = " + sizeInFS return "'" + getPath() + "' size in the file system = " + sizeInFS
+ " but in the path info database = " + sizeInDB; + " bytes but in the path info database = " + sizeInDB + " bytes.";
} }
} }
......
...@@ -216,7 +216,7 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPluginTest extends ...@@ -216,7 +216,7 @@ public class DataSetAndPathInfoDBConsistencyCheckProcessingPluginTest extends
"Data sets checked:\n\nds-1\n\n" "Data sets checked:\n\nds-1\n\n"
+ "Differences found:\n\n" + "Differences found:\n\n"
+ "Data set ds-1:\n" + "Data set ds-1:\n"
+ "- 'data.txt' size in the file system = 1024 but in the path info database = 2100\n\n"; + "- 'data.txt' size in the file system = 1024 bytes but in the path info database = 2100 bytes.\n\n";
} else } else
{ {
body = "Data sets checked:\n\nds-1\n\nDifferences found:\n\nNone"; body = "Data sets checked:\n\nds-1\n\nDifferences found:\n\nNone";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment