Reduce timeout in security_manager_400_prepare_app_series_with_concurrent_install_stress 84/319684/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Fri, 14 Feb 2025 12:42:20 +0000 (13:42 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Fri, 14 Feb 2025 12:42:20 +0000 (13:42 +0100)
Previous value could lead to timeout in the testing framework.

Change-Id: I93ededea7574d125c064032ccea8b2fc49b2fdf0

src/security-manager-tests/test_cases_prepare_app.cpp

index f6181e563f5aa2233c83638bde70412c053eb616..1555a9f89f730fcf612729b3132ecaf8c4801677 100644 (file)
@@ -849,7 +849,7 @@ RUNNER_CHILD_TEST(security_manager_400_prepare_app_series_with_concurrent_instal
                 Api::cleanupApp(app.getAppId(), tmpUser.getUid(), pid2);
             }
             std::time_t now = std::time(nullptr);
-            if (now - begin >= 120) // wait 2 mins
+            if (now - begin >= 30) // wait 30 sec
                 break;
         }
         exit(0);
@@ -863,7 +863,7 @@ RUNNER_CHILD_TEST(security_manager_400_prepare_app_series_with_concurrent_instal
                 ScopedInstaller appInstall(app2);
             }
             std::time_t now = std::time(nullptr);
-            if (now - begin >= 120) // wait 2 mins
+            if (now - begin >= 30) // wait 30 sec
                 break;
         }
         waitPid(pid);