assertTrue(rpolicy.getBackOffFunction() == CnsBackoffFunction.linear);
logger.debug("retryPolicy2: " + retryPolicy2);
logger.debug("rpolicy is: " + rpolicy.toString());
assertTrue(rpolicy.toString().equals(retryPolicy2));
JSONObject respJSON = rpolicy.toJSON();
assertTrue(respJSON.has("backoffFunction"));
assertTrue(respJSON.getString("backoffFunction").equals("linear"));
assertTrue(respJSON.has("numMaxDelayRetries"));
assertTrue(respJSON.getInt("numMaxDelayRetries") == 4);
assertTrue(respJSON.has("numMinDelayRetries"));