Skip to content

Commit 1b1d690

Browse files
committed
Issue #2894, CDS test failure with size change
Adjust the "small" CDS size based on actual config, such that it is always a bit larger than the minimum threshold.
1 parent 3673163 commit 1b1d690

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎modules/es/ut-coverage/es_ut_helpers.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* requirements for the implementation, but
3636
* not much larger.
3737
*/
38-
#define ES_UT_CDS_SMALL_TEST_SIZE (56 * 1024)
38+
#define ES_UT_CDS_SMALL_TEST_SIZE (128 + CDS_RESERVED_MIN_SIZE + (32 * CFE_PLATFORM_ES_CDS_MAX_NUM_ENTRIES))
3939

4040
/*
4141
* A size which has room for actual allocations

0 commit comments

Comments
 (0)