You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Udara Liyanage <ud...@wso2.com> on 2015/07/02 08:58:24 UTC

Mock IaaS not starting from begining after redeployment

Hi,

I have specified below order in sample values
<pattern factor="memory-consumption" mode="continue">
                <!-- Sample values -->

<sampleValues>70,80,90,90,90,90,90,90,20,20,20,20,20</sampleValues>
                <!-- Duration of each sample value in seconds -->
                <sampleDuration>60</sampleDuration>
            </pattern>
            <pattern factor="load-average" mode="continue">
                <!-- Sample values -->

<sampleValues>80,80,80,80,80,90,90,90,20,20,20,20,20</sampleValues>
                <!-- Duration of each sample value in seconds -->
                <sampleDuration>60</sampleDuration>
            </pattern>

This works as expected. However if I undeploy the application in the middle
and redeploy the application, pattern continues from the value it stopped.
Should n't it start from the beginning since the user expect the pattern
for every deployment?
-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897