diff options
author | Handa Wang <handaw@google.com> | 2024-03-20 05:23:26 +0000 |
---|---|---|
committer | Handa Wang <handaw@google.com> | 2024-03-20 05:31:39 +0000 |
commit | 2f0c1fc6e949d40b5938a6a2cf9a58adab599b17 (patch) | |
tree | f9352b0feade8820ba05cb597f78aed4a28d4e57 | |
parent | f53f8d9a2b493741908fd86bb226251769c525a4 (diff) | |
download | ot-br-posix-2f0c1fc6e949d40b5938a6a2cf9a58adab599b17.tar.gz |
[Thread] use the former leave() implementation to work around flaky tests
The new leave() implementation (aosp/2999676) somehow made the meshcop
test cases flaky. I'll roll it back to the former implementation to
work around the flaky tests.
Bug: 330028220
Bug: 330436824
Test: atest CtsThreadNetworkTestCases
Change-Id: I3cf2c9dc65d4237894b7f2252c3f01e9f55ab688
-rw-r--r-- | src/android/otdaemon_server.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/android/otdaemon_server.cpp b/src/android/otdaemon_server.cpp index 9132b391..4eb11381 100644 --- a/src/android/otdaemon_server.cpp +++ b/src/android/otdaemon_server.cpp @@ -694,9 +694,7 @@ exit: void OtDaemonServer::FinishLeave(const std::shared_ptr<IOtStatusReceiver> &aReceiver) { (void)otInstanceErasePersistentInfo(GetOtInstance()); - mApplication.Deinit(); - mApplication.Init(); - initializeInternal(mThreadEnabled == OT_STATE_ENABLED, mINsdPublisher, mMeshcopTxts); + // TODO: b/323301831 - Re-init the Application class. if (aReceiver != nullptr) { aReceiver->onSuccess(); |