Most test cases are failed during running by teamcity and the fail reason is assert failure (actual result is not equal with the expected. They can actually pass if run by ant in command line)
Checking the following build log, I found encoding may be the reason cause those test failure, and I found the agent has “Additional properties defined by JVM and agent runtime” in which file.encoding =CP1252, so is it possible for me to adjust “file.encoding” to pass my tests?
: C:\cps_build\manager\test\com\emc\cma\cps\services\LPLocalFunctionalTest.java:99: warning: unmappable character for encoding Cp1252
: String content = "ä¸å?Žäººæ°‘å…±å’Œå›½æ˜¯ä¸€ä¸ªåŽ†å?²æ‚ ä¹…çš„å›½å®¶ï¼Œäººå?£ä¼—å¤šï¼Œç‰©äº§å¯Œé¥¶ï¼Œæœ‰ç?€56ä¸ªæ°‘æ—?ï¼Œ 5000å¤šå¹´çš„æ–‡æ˜Žå?²ã€‚";
Edited by: Hu Yewen on Jun 19, 2008 6:00 AM