Skip to content

Fix #1655, Size unit test table load buffer based on config#1656

Merged
astrogeco merged 1 commit intonasa:integration-candidatefrom
skliper:fix1655_tbl_ut_buffer
Jul 7, 2021
Merged

Fix #1655, Size unit test table load buffer based on config#1656
astrogeco merged 1 commit intonasa:integration-candidatefrom
skliper:fix1655_tbl_ut_buffer

Conversation

@skliper
Copy link
Contributor

@skliper skliper commented Jun 30, 2021

Describe the contribution
Fix #1655 - Supports larger table configurations (in passing unit tests) by sizing the unit test buffer used for table loads based on the configuration values.

Testing performed
Increased CFE_PLATFORM_TBL_MAX_SNGL_TABLE_SIZE to where when multiplied by CFE_PLATFORM_TBL_MAX_SIMULTANEOUS_LOADS it would break the 128 * 1024 limit hard coded in ut_support.c. Built and ran unit tests, confirmed they now pass.

Expected behavior changes
Unit tests will pass for a configuration supporting larger tables

System(s) tested on

  • Hardware: Intel i5/Docker
  • OS: Ubuntu 18.04
  • Versions: Bundle main + this commit (plus a modified config)

Additional context
Still not unlimited since table register uses the default buffer size, but an improvement.

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Jun 30, 2021
@skliper skliper added this to the 7.0.0 milestone Jun 30, 2021
@astrogeco astrogeco added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Jul 7, 2021
@astrogeco
Copy link
Contributor

CCB:2021-07-07 APPROVED

@astrogeco astrogeco changed the base branch from main to integration-candidate July 7, 2021 16:17
@astrogeco astrogeco merged commit fe8fced into nasa:integration-candidate Jul 7, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Jul 12, 2021
nasa/osal#1089, timer reconfig tests

nasa/cFE#1656, Size unit test table load buffer based on config
nasa/cFE#1657, Add SB Pipe Management Functional Tests
astrogeco added a commit to nasa/cFS that referenced this pull request Jul 13, 2021
**Combines:**

nasa/cFE#1661, v6.8.0-rc1+dev746
nasa/osal#1100, v5.1.0-rc1+dev569

*Includes:*

nasa/osal#1089, timer reconfig tests

nasa/cFE#1656, Size unit test table load buffer based on config
nasa/cFE#1657, Add SB Pipe Management Functional Tests
astrogeco added a commit to nasa/cFS that referenced this pull request Jul 13, 2021
**Combines:**

nasa/cFE#1661, v6.8.0-rc1+dev746
nasa/osal#1100, v5.1.0-rc1+dev569

*Includes:*

nasa/osal#1089, timer reconfig tests

nasa/cFE#1656, Size unit test table load buffer based on config
nasa/cFE#1657, Add SB Pipe Management Functional Tests
@skliper skliper deleted the fix1655_tbl_ut_buffer branch October 22, 2021 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CCB:Approved Indicates code review and approval by community CCB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support larger tables in the table unit test

3 participants