[UTC][ITC][wifi-manager][Non-ACR][Fix some TCs for async API] 53/233153/1
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 12 May 2020 13:10:16 +0000 (22:10 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 12 May 2020 13:12:37 +0000 (22:12 +0900)
Change-Id: I99ea06cd718bb90bd9333f3c586b30b80ad58fb7
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
src/itc/wifi-manager/ITs-wifi-manager.c
src/utc/wifi-manager/utc-wifi-manager.c

index 1033dd52bf6d1faaef080161a5e3150a100ced21..218bd771e4d00fdf539d131b037981a31ffc68eb 100755 (executable)
@@ -313,6 +313,8 @@ int ITc_wifi_manager_activate_with_wifi_picker_tested_p(void)
                        dlog_print(DLOG_ERROR, "[%s:%d] wifi_manager_activate_with_wifi_picker_tested error =%s!!", __FILE__, __LINE__,WifiManagerGetError(nRet));
                        return 1;
                }
+
+               RUN_POLLING_LOOP;
                return 1;
 
        }
index e1e71492bda05b10f9e3cb71f677514375805627..d5cdd99a5d9d311ff93ee43f8f0c1a3886ecbefb 100755 (executable)
@@ -223,6 +223,8 @@ int utc_wifi_manager_activate_with_wifi_picker_tested_p(void)
        ret = wifi_manager_activate_with_wifi_picker_tested(g_hWifi, wifi_manager_activated_with_picker_callback, NULL);
        PRINT_RETURN("wifi_manager_activate_with_wifi_picker_tested", ret);
 
+       RUN_GMAIN_LOOP;
+
        while (retry_count < WIFI_ACTIVATION_RETRY &&
                        g_nCallbackRet != WIFI_MANAGER_ERROR_NONE) {
                sleep(5);