simplify the xml_access query, and instead use guid to check for permission. Now the docid/rev join (to get most recent version for search results) happens "higher up" in the query.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5696
remove use of HttpMessage (in morpho.jar) in favor of standard httpclient methods for calling the servlet in tests
use CDATA for docname field in docInfo so that XML parser ignores the content that can contain characters like "&
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.
Use a final static string to replace the hard code.Search document title rather than id in testReplicateEML_AtoB method.
use CN session when testing getLogRecords() and getOperationStatistics() becuase they are now protecting "sensitive" information
test for running concurrent Metacat queries to mimic Kepler data search.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5518
include testSynchronizationFailed() and call as the CN subject so that it is authorized.
use MN (self) as the Session.subject so that the MN.delete() call is successful.
comment out testDelete because it requires acting as the MN comment out testSynchronizationFailed because it requires acting as the CN
Also available in: Atom