stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From R-Rajkumar <>
Subject [GitHub] stratos pull request: implementing STRATOS-1628
Date Sat, 21 Nov 2015 14:33:49 GMT
Github user R-Rajkumar commented on a diff in the pull request:
    --- Diff: products/stratos/modules/integration/test-common/src/main/java/org/apache/stratos/integration/common/extensions/
    @@ -107,11 +106,10 @@ private void startStratosServer(int activeMQDynamicPort) throws
                 long time3 = System.currentTimeMillis();
                 String carbonHome = stratosTestServerManager.startServer();
                 assertNotNull(carbonHome, "CARBON_HOME is null");
    -            while (!serverStarted()) {
    -      "Waiting for topology to be initialized...");
    -                Thread.sleep(5000);
    -            }
    -            while (!mockServiceStarted()) {
    +            // checking whether mock iaas component is ready. If it is ready, all the
components are activated.
    +            mockIaasApiClient = new MockIaasApiClient(stratosTestServerManager.getWebAppURL()
    +            while (!StratosServerExtension.mockIaasApiClient.isMockIaaSReady()) {
           "Waiting for mock service to be initialized...");
    --- End diff --
    server is started from StratosTestServerManager#startServerUsingCarbonHome(). There we
are waiting until the server is started. So I didn't "Waiting for mock service to be initialized..."
message continuously. Waiting 50s before entering loop will be a significant delay, wdyt?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message