Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #493, race condition in idmap api test #495

Merged

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Jun 9, 2020

Describe the contribution
Add a delay loop to ensure that the child task has executed before continuing with the rest of the test.

This also uses a separate "setup" function to create the resources for the test and adds asserts that the setup worked.

Fixes #493

Testing performed
Execute unit tests and confirm passing.

Expected behavior changes
No more race condition in idmap-api-test.

System(s) tested on
Ubuntu 20.04 (native)
Centos 6.9 VM (single core)

Additional context
May want to fast track as this causes occasional CI failures in current master branch.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Use a proper "setup" function to create the resources for the test.
Add a delay loop to ensure that the child task has executed before
continuing with the rest of the test.
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Jun 9, 2020
@astrogeco
Copy link
Contributor

@skliper any objections with Fast Tracking this?

@skliper
Copy link
Contributor

skliper commented Jun 9, 2020

@skliper any objections with Fast Tracking this?

Approved.

@astrogeco astrogeco changed the base branch from master to integration-candidate June 10, 2020 02:01
@astrogeco astrogeco merged commit aca6751 into nasa:integration-candidate Jun 10, 2020
@astrogeco astrogeco added CCB-20200610 CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Jun 10, 2020
@astrogeco
Copy link
Contributor

CCB 2020-06-10: APPROVED

@jphickey jphickey deleted the fix-493-idmap-test-race branch June 19, 2020 16:13
@skliper skliper added this to the 5.1.0 milestone Aug 21, 2020
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Fix nasa#489, Add usersguide/osalguide to local targets
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 CCB:FastTrack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Race condition in new idmap tests
3 participants