sleep before updating and deleting test documents - otherwise their index entries may not be fully written and this causes errors (update and delete first attempt to remove index references, but if they are not in the DB yet then they are not removed but then they do get added and the FK constraints make the delete fail). Since we know indexing occurs in a separate thread with a configured delay, we just use this same delay in our testing.
Remove hardcoded LDAP usernames from testing so that MetaCatServletNetTest will work even using alternateLDAP servers.
merging test changes into the trunk
Merge 1.9.2 changes back into the trunk
Change location of PropertyService to properties directory
Renamed MetaCatUtil to MetacatUtil
Change info log messages to be debug.
Added debug statements that tell which subtest is being run.
Convert properties to camel case
Continue to qualify property names
Extend MCTestCase to handle initialization of PropertyService
Replace Options class with PropertyService
Merge 1.9 changes into Head
delete some duplicated test to MetacatClientTest
Fixed a bug that Option wasn't initialized.
Removed the debugMessage method which was removed from MetacatUtil class.
Eliminated the 'release' ant tag from the rest of the files. The 'release' property is still used in build.xml for creating releases, but the filter is no longer presnt. Now, when updating the metacat files for a release, you have to set the release version in both the build.xml and the metacat.properties files.
release
Change assert to assertTrue
Change the test case order.
Change some debug message.
Change package name and data file path. The factor for docid change from 10000 to 100000.
This is the data file for testing insert data file action.
This is a net test file for metacat.