storageUtil.expectTaskFetch(
Query.instanceScoped(IInstanceKey.build(instance)).active(), storedTask);
control.replay();
RewriteConfigsRequest request = new RewriteConfigsRequest(
ImmutableList.of(ConfigRewrite.instanceRewrite(
new InstanceConfigRewrite(instance, modifiedConfig, modifiedConfig))));
assertResponse(WARNING, thrift.rewriteConfigs(request, SESSION));
}