[ITC][connection][Non-ACR][Fixed failed TC for callback timeout]
authortaesub kim <taesub.kim@samsung.com>
Tue, 8 Aug 2017 09:04:05 +0000 (18:04 +0900)
committertaesub kim <taesub.kim@samsung.com>
Tue, 8 Aug 2017 09:05:40 +0000 (18:05 +0900)
Change-Id: I815ee5412d7a8b826d6bd151fcb1b33e727414e2
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
src/itc/connection/ITs-connection-profile.c

index 31ce2c7..ddbf7b4 100755 (executable)
@@ -1129,7 +1129,7 @@ int ITc_connection_profile_set_unset_state_changed_cb_p(void)
        nRet = connection_open_profile(g_hConenctionHandle, g_hConnectionProfileHandleMMS, test_connection_opened_callback, NULL);
        PRINT_RESULT_CLEANUP(CONNECTION_ERROR_NONE, nRet, "connection_open_profile", ConnectionGetError(nRet), connection_profile_unset_state_changed_cb(g_hConnectionProfileHandleMMS));
 
-       nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+       nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
        g_main_loop_run(g_pMainLoop);
        g_source_remove(nTtimeoutId);
 
@@ -1148,7 +1148,7 @@ int ITc_connection_profile_set_unset_state_changed_cb_p(void)
        nRet = connection_profile_unset_state_changed_cb(g_hConnectionProfileHandleMMS);
        PRINT_RESULT(CONNECTION_ERROR_NONE, nRet, "connection_profile_unset_state_changed_cb", ConnectionGetError(nRet));
 
-       nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+       nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
        g_main_loop_run(g_pMainLoop);
        g_source_remove(nTtimeoutId);
 
@@ -1196,7 +1196,7 @@ int ITc_connection_open_close_profile_p(void)
        int nRet = connection_open_profile(g_hConenctionHandle, g_hConnectionProfileHandleCellular, test_connection_opened_callback, NULL);
        PRINT_RESULT(CONNECTION_ERROR_NONE, nRet, "connection_profile_unset_state_changed_cb", ConnectionGetError(nRet));
 
-       nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+       nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
        g_main_loop_run(g_pMainLoop);
        g_source_remove(nTtimeoutId);
 
@@ -1213,7 +1213,7 @@ int ITc_connection_open_close_profile_p(void)
        nRet = connection_close_profile(g_hConenctionHandle, g_hConnectionProfileHandleCellular, test_connection_closed_callback, NULL);
        PRINT_RESULT(CONNECTION_ERROR_NONE, nRet, "connection_close_profile", ConnectionGetError(nRet));
 
-       nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+       nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
        g_main_loop_run(g_pMainLoop);
        g_source_remove(nTtimeoutId);
 
@@ -1312,7 +1312,7 @@ int ITc_connection_reset_profile_p(void)
                        return 1;
                }
 
-               nTtimeoutId = g_timeout_add(30000, Timeout_Function, g_pMainLoop);
+               nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
                g_main_loop_run(g_pMainLoop);
                g_source_remove(nTtimeoutId);
                if ( g_bCallbackResult == false )