Fixes to always call Singleton's registrationComplete()/initFacebook()
[folly.git] / folly / io / async / test / AsyncSSLSocketTest2.cpp
index e3026a17d140fa803cb9bffef0ca5e213ebb2ca0..06b6db7df29d6415efda906e9c01b762d897309e 100644 (file)
@@ -18,6 +18,7 @@
 #include <pthread.h>
 
 #include <folly/futures/Promise.h>
+#include <folly/init/Init.h>
 #include <folly/io/async/AsyncSSLSocket.h>
 #include <folly/io/async/EventBase.h>
 #include <folly/io/async/SSLContext.h>
@@ -208,6 +209,6 @@ int main(int argc, char *argv[]) {
 #endif
   });
   testing::InitGoogleTest(&argc, argv);
-  gflags::ParseCommandLineFlags(&argc, &argv, true);
+  folly::init(&argc, &argv);
   return RUN_ALL_TESTS();
 }