Project

General

Profile

« Previous | Next » 

Revision 6841

debugging data locking test

View differences:

test/edu/ucsb/nceas/metacat/replication/ReplicationTest.java
98 98
        suite.addTest(new ReplicationTest("initialize"));
99 99
        // Test basic functions
100 100
        suite.addTest(new ReplicationTest("testCertificate"));
101
        suite.addTest(new ReplicationTest("testReplicateData_AtoB"));
102
        suite.addTest(new ReplicationTest("testReplicateEML_AtoB"));
101
//        suite.addTest(new ReplicationTest("testReplicateData_AtoB"));
102
//        suite.addTest(new ReplicationTest("testReplicateEML_AtoB"));
103 103
        suite.addTest(new ReplicationTest("testReplicateDataLocking"));
104 104

  
105 105
        return suite;
......
299 299
    		
300 300
			// query for the docid -- should not be returned since it is archived
301 301
			String queryString = getTestEmlQuery(docid, EML2_1_0);
302
			System.out.println("queryString: " + queryString);
302 303
			Reader xmlQuery = new StringReader(queryString);
303 304
			Reader resultReader = targetMetacat.query(xmlQuery);
304 305
			String results = IOUtils.toString(resultReader);
306
			System.out.println("results: " + results);
305 307
			assertFalse(results.contains(docid));
306 308
			
307 309
    	} catch (Exception e) {

Also available in: Unified diff