Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Change TooManySockets test to a concurrent count test #1506

Merged
merged 3 commits into from
Nov 7, 2019
Merged

Change TooManySockets test to a concurrent count test #1506

merged 3 commits into from
Nov 7, 2019

Conversation

dan4thewin
Copy link
Contributor

The old test returned pdPASS if integrationtestportableMAX_NUM_UNSECURE_SOCKETS sockets were created and pdFAIL for fewer or more sockets. Some ports are limited only by free memory. The test would return pdFAIL for those ports. To work around this an exclusion list was added via preprocessor directive.

This PR removes the exclusion list, and returns pdFAIL only if fewer sockets were created. The define directive is removed from ports without a hard limit. For those ports, the test looks for a reasonable number of sockets to be created.

https://amazon-freertos-ci.corp.amazon.com/job/master/job/custom_ide/439/

@dan4thewin
Copy link
Contributor Author

/bot run checks

Copy link
Contributor

@alexa-noxon alexa-noxon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Once it's merged references to this test in the blacklist should also be removed. :)

@pvyawaha pvyawaha merged commit d5fedc0 into aws:master Nov 7, 2019
@dan4thewin dan4thewin deleted the sockets-test branch November 7, 2019 23:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants