Skip to content

nsapi_dns: Convert to Chrono #12428

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
merged 2 commits into from
May 13, 2020
Merged

nsapi_dns: Convert to Chrono #12428

merged 2 commits into from
May 13, 2020

Conversation

kjbracey
Copy link
Contributor

Summary of changes

Convert DNS client code to use new APIs from #12425.

Impact of changes

Eliminate use of deprecated APIs

Migration actions required

n/a

Documentation

None


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[X] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


@mergify mergify bot added the needs: work label Feb 13, 2020
@ciarmcom ciarmcom requested review from a team February 13, 2020 16:00
@ciarmcom
Copy link
Member

@kjbracey-arm, thank you for your changes.
@ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

@@ -31,6 +31,9 @@
#include "PlatformMutex.h"
#include "SingletonPtr.h"

using namespace std::chrono;
using rtos::Kernel::Clock;
Copy link
Contributor

@michalpasztamobica michalpasztamobica Feb 13, 2020

Choose a reason for hiding this comment

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

Is this necessary? (I mean using rtos::Kernel::Clock;)

Copy link
Contributor Author

@kjbracey kjbracey Feb 14, 2020

Choose a reason for hiding this comment

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

No, but it saves typing rtos::Kernel:: a fair few times in the file. Could just go halfway with the more conventional using namespace rtos.

adbridge
adbridge previously approved these changes Mar 25, 2020
@adbridge
Copy link
Contributor

@kjbracey-arm is this PR now dependent on C++ Chrono support #12689 instead ?

@mergify mergify bot dismissed adbridge’s stale review April 30, 2020 10:07

Pull request has been modified.

@kjbracey
Copy link
Contributor Author

Rebased - no changes needed, but will trigger CI, at least.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 30, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 30, 2020

Test run: FAILED

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

Failed test jobs:

  • jenkins-ci/mbed-os-ci_unittests

@0xc0170
Copy link
Contributor

0xc0170 commented May 8, 2020

@kjbracey-arm Can you review unittests failures? does this need a rerun?

@kjbracey
Copy link
Contributor Author

CI started

@mbed-ci
Copy link

mbed-ci commented May 11, 2020

Test run: SUCCESS

Summary: 6 of 6 test jobs passed
Build number : 2
Build artifacts

@0xc0170 0xc0170 merged commit 5c71ad8 into ARMmbed:master May 13, 2020
@mergify mergify bot removed the ready for merge label May 13, 2020
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.

6 participants