}
protected Community createCommunity(String title, String type, String content, String tags, boolean retry) {
Community community = null;
try {
CommunityService communityService = getCommunityService();
long start = System.currentTimeMillis();
community = new Community(communityService, "");
community.setTitle(title);
community.setCommunityType(type);
community.setContent(content);
community.setTags(tags);
String communityUuid = communityService.createCommunity(community);
community = communityService.getCommunity(communityUuid);
long duration = System.currentTimeMillis() - start;
Trace.log("Created test community: "+communityUuid + " took "+duration+"(ms)");
}
catch (ClientServicesException cse) {