-
Notifications
You must be signed in to change notification settings - Fork 3k
Fixes NUCLEO_F746ZG gethostbyname test compiled with IAR #5689
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
Fixes NUCLEO_F746ZG gethostbyname test compiled with IAR #5689
Conversation
#endif | ||
|
||
|
||
const char *DNS_TEST_HOST = "connector.mbed.com"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi
Please check #5576
I would like to be able to define this host name with MBED app json file.
Thx
So, what gave the idea for the change? Is it just aligning it with other tests? Is it maybe the case that Or is it actually about those global variables you've just hidden by putting into a private namespace? Were they colliding with something? |
Actually, didn't we establish that this was failing in the connect before doing the gethostbyname? Which would suggest it is those global variables. Don't suppose the build muttered anything about multiple definition on the link, did it? |
socket_sigio has similar setup than this test, so I started by aligning with that one, since it wasn't failing. I actually tested that the The private namespace I added there for safety precaution, like it has been done with other tests. |
Do you know whether |
Didn't at least see any definitions for it anywhere. |
Note that #5576 is now merged, |
@jarlamsa Can you rebase this to get the latest changes ? Is this patch still needed? |
This should be closed - it's not a real fix. We'll carry on investigating in #5622 |
Description
Fixes intermittently failing gethostbyname test on NUCLEO_F746ZG compiled with IAR
Status
READY