Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test change: misc resource accounting fixes. (#1123)
A few further (non-critical) resource account fixes: - the leak checking in the sockets tests was left using the old "ask the heap how much it has free" memory checking, which doesn't always work correctly (depending on how the underlying heap implementation re-coalesces blocks); it is now moved to use the more organised counting method that all of the other tests use, - to make this work, the cellular socket clean-up function now removes the cellular sockets-related URCs (which would normally just be removed when the AT client is taken down), - the test utility function uTestUtilGetDynamicResourceCount() wasn't allowing for perpetually-allocated resources correctly; it is now, - the Linux I2C resource count wasn't being decremented correctly; it is now, - the test sockUdpEchoNonPingPong() wasn't running the Wifi portion of the test due to a loop variable not being reset; it is now.
- Loading branch information