@Test
public void testSetBucketPropsInType() throws InterruptedException, ExecutionException
{
Assume.assumeTrue(testBucketType);
Namespace namespace = new Namespace(bucketType, bucketName);
StoreBucketPropsOperation.Builder builder =
new StoreBucketPropsOperation.Builder(namespace)
.withR(1)
.withNVal(4);
storeBucketProps(builder);
BucketProperties props = fetchBucketProps(namespace);
assertEquals(props.getNVal(), Integer.valueOf(4));
assertEquals(props.getR().getIntValue(), 1);
namespace = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
props = fetchBucketProps(namespace);
assertEquals(props.getNVal(), Integer.valueOf(3));
}