Add CConnmanTest to mutate g_connman in tests

This commit is contained in:
João Barbosa
2017-10-24 09:26:05 +01:00
committed by Suhas Daftuar
parent ac7b37cd2b
commit 83df25736e
3 changed files with 20 additions and 0 deletions

View File

@@ -431,6 +431,8 @@ private:
* in excess of nMaxOutbound
* This takes the place of a feeler connection */
std::atomic_bool m_try_another_outbound_peer;
friend struct CConnmanTest;
};
extern std::unique_ptr<CConnman> g_connman;
void Discover(boost::thread_group& threadGroup);