Menu

#35 GUIReplayer/small-system-tests - "wrong test file address"

open
nobody
None
5
2010-03-24
2010-03-24
acartas
No

This seems to be a naming convention problem, as the ones in small-system-test are label t0, t1, etc.. while large-system tests go by test0, test1, etc...
It also looks like the file may be accessing the wrong tests most of the time, as those from small-system-test are never used.

During a test, the file located at Demo/testcases/test0.xml can not be found. This problem is due to either the folder being wrong, or the file name. It is uncertain which of the two it is, since small-system-tests seem to frequently reference test files from within the large-system-tests folder, which are named test0, test1, etc... while those within the small-system-tests folder are named t0, t1, etc... Not sure whether ALL references to large-system-test files are inadvertent, the test files are very similar so it is possible that this was simply not noticed previously as it has little impact for now. The output is as follows:

[java] [main] ERROR ./tests/small-system-tests/Dialog.apache.log4j.FileAppender.
[java] log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.FileAppender.
[java] log4j:WARN No such Demo/testcases/test0.xml not found!!!
[java] [main] ERROR Test case not found

Discussion


Log in to post a comment.

MongoDB Logo MongoDB