DATACOUCH-117 - Fix flaky tests when asserting json objects.

This changeset also increses the timeout for operations to 10 seconds
to reduce the possibility of false timeouts during test runs.
This commit is contained in:
Michael Nitschinger
2015-01-20 10:37:58 +01:00
parent 1eeb565987
commit 264266c792
5 changed files with 79 additions and 86 deletions

View File

@@ -105,7 +105,7 @@ public abstract class AbstractCouchbaseConfiguration {
*
* @param logger the logger path to use.
*/
private static void setLoggerProperty(final String logger) {
protected static void setLoggerProperty(final String logger) {
Properties systemProperties = System.getProperties();
systemProperties.setProperty("net.spy.log.LoggerImpl", logger);
System.setProperties(systemProperties);
@@ -232,7 +232,7 @@ public abstract class AbstractCouchbaseConfiguration {
* @param hosts the list of hosts to convert.
* @return the converted URIs.
*/
private static List<URI> bootstrapUris(List<String> hosts) throws URISyntaxException {
protected static List<URI> bootstrapUris(List<String> hosts) throws URISyntaxException {
List<URI> uris = new ArrayList<URI>();
for (String host : hosts) {
uris.add(new URI("http://" + host + ":8091/pools"));