Revision 6771
Added by ben leinfelder almost 13 years ago
test/edu/ucsb/nceas/metacat/replication/ReplicationTest.java | ||
---|---|---|
68 | 68 |
// get the target ("B server") |
69 | 69 |
targetReplicationServer = PropertyService.getProperty("test.replication.targetServer"); |
70 | 70 |
m = MetacatFactory.createMetacatConnection(metacatUrl); |
71 |
targetMetacat = MetacatFactory.createMetacatConnection(targetReplicationServer + "/metacat"); |
|
71 |
targetMetacat = MetacatFactory.createMetacatConnection("https://" + targetReplicationServer + "/metacat");
|
|
72 | 72 |
|
73 | 73 |
} |
74 | 74 |
catch (MetacatInaccessibleException mie) { |
... | ... | |
110 | 110 |
|
111 | 111 |
public void testCertificate() { |
112 | 112 |
try { |
113 |
URL u = new URL("https://" + targetReplicationServer + "/replication/servlet?server=" + MetacatUtil.getLocalReplicationServerName() + "&action=test");
|
|
113 |
URL u = new URL("https://" + targetReplicationServer + "/servlet/replication?server=" + MetacatUtil.getLocalReplicationServerName() + "&action=test");
|
|
114 | 114 |
String test = ReplicationService.getURLContent(u); |
115 | 115 |
assertTrue(test.contains("Test successfully")); |
116 | 116 |
|
Also available in: Unified diff
use correct URLs for replication/Metacat client