Allow callers to override the default partition size.
Callers should know the actual size of the image on the device. If they do,
use that and not our hard-coded constant.
BUG=chromium:234556
TEST=Running it on canary try jobs
Change-Id: I1f4e268d218d83d5499fd1561f8aacf8c4b0f7c2
Reviewed-on: https://gerrit.chromium.org/gerrit/48963
Commit-Queue: Chris Sosa <sosa@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: Chris Sosa <sosa@chromium.org>
diff --git a/delta_performer_unittest.cc b/delta_performer_unittest.cc
index 57c16e7..8964a3c 100644
--- a/delta_performer_unittest.cc
+++ b/delta_performer_unittest.cc
@@ -423,6 +423,7 @@
state->delta_path,
private_key,
chunk_size,
+ kRootFSPartitionSize,
&state->metadata_size));
}