PEL: Add callouts to pelFactory()'s test PEL
Add a hardware callout to the PEL that gets returned from pelFactory()
in unit test.
This brings the size up to between 400 and 500 so there is also a
testcase update that needs to be made so it doesn't assert.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I64e9ee99c4bae7c804b1c559b8f2f59f6ad828fc
diff --git a/test/openpower-pels/repository_test.cpp b/test/openpower-pels/repository_test.cpp
index 4bc3282..403245a 100644
--- a/test/openpower-pels/repository_test.cpp
+++ b/test/openpower-pels/repository_test.cpp
@@ -834,7 +834,7 @@
EXPECT_FALSE(repo.sizeWarning());
// Now at 96%
- auto data = pelFactory(id++, 'B', 0x20, 0x8800, 400);
+ auto data = pelFactory(id++, 'B', 0x20, 0x8800, 500);
auto pel = std::make_unique<PEL>(data);
repo.add(pel);