Update of /var/cvs/tests/common/org/mmbase/tests
In directory james.mmbase.org:/tmp/cvs-serv13778/common/org/mmbase/tests
Modified Files:
BridgeTest.java
Log Message:
get admin cloud through rmmci
See also: http://cvs.mmbase.org/viewcvs/tests/common/org/mmbase/tests
Index: BridgeTest.java
===================================================================
RCS file: /var/cvs/tests/common/org/mmbase/tests/BridgeTest.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- BridgeTest.java 1 Oct 2008 19:59:03 -0000 1.21
+++ BridgeTest.java 20 Oct 2008 14:09:59 -0000 1.22
@@ -97,7 +97,9 @@
Cloud c = null;
while(c == null) {
try {
- c = ContextProvider.getCloudContext(uri).getCloud("mmbase",
"class", null);
+ Map<String, Object> loginInfo = new HashMap<String, Object>();
+ loginInfo.put("rank", "administrator");
+ c = ContextProvider.getCloudContext(uri).getCloud("mmbase",
"class", loginInfo);
break;
} catch (BridgeException be) {
System.out.println(be.getMessage() + ". " + uri + ". Perhaps
mmbase '" + uri + "' not yet running, retrying in 5 seconds (" + tryCount +
")");
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs