private StoreConfig changeThreshold(int readOnlyThreshold, int readWriteDeltaThreshold, boolean delegateEnabled) {
    properties.setProperty(StoreConfig.storeReplicaStatusDelegateEnableName, Boolean.toString(delegateEnabled));
    properties.setProperty(StoreConfig.storeReadOnlyEnableSizeThresholdPercentageName,
        Integer.toString(readOnlyThreshold));
    properties.setProperty(StoreConfig.storeReadOnlyToPartialWriteEnableSizeThresholdPercentageDeltaName,
        Integer.toString(readWriteDeltaThreshold));
    return new StoreConfig(new VerifiableProperties(properties));
  }
Change threshold levels for dynamic replica sealing
@param readOnlyThreshold new storeReadOnlyEnableSizeThresholdPercentageName value
@param readWriteDeltaThreshold new storeReadWriteEnableSizeThresholdPercentageDeltaName value
@return StoreConfig object with new threshold values
ambry-store/src/test/java/com/github/ambry/store/BlobStoreTest.java