Skip to content

Greentea tests ignore bind returning UNSUPPORTED #9175

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

Merged

Conversation

michalpasztamobica
Copy link
Contributor

Description

Greentea tests should not fail if the stack doesn't support bind(). Instead some tests should be ignored.
I tested this by running the whole udp and tcp suites (including extended tests) with LWIP stack and then again with LWIP stack hacked to always return NSAPI_ERROR_UNSUPPORTED from socket_bind.
I also checked tests-netsocket-dns with this "hacked" LWIP but it never failed, so no adjustments are needed.

Pull request type

[ ] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[x] Test update
[ ] Breaking change

Reviewers

@SeppoTakalo
@VeijoPesonen
@KariHaapalehto

@cmonr
Copy link
Contributor

cmonr commented Jan 2, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 3, 2019

Test run: FAILED

Summary: 1 of 9 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_greentea-test

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 3, 2019

Test restarted

@SeppoTakalo
Copy link
Contributor

merge please.

@0xc0170 0xc0170 merged commit cc89c20 into ARMmbed:master Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants