You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/05/08 16:13:59 UTC

[jira] [Commented] (CLOUDSTACK-8453) Fix DB result check in test_VirtualRouter_alerts.py

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14534591#comment-14534591 ] 

ASF GitHub Bot commented on CLOUDSTACK-8453:
--------------------------------------------

GitHub user gauravaradhye opened a pull request:

    https://github.com/apache/cloudstack/pull/239

    CLOUDSTACK-8453: Fix DB result check in test_VirtualRouter_alerts.py

    After stopping the apache service, the alerts in database is matched currently with the string "Monitoring Service on VR RouterName".
    The database contains the subject as "Monitoring Service on VR RouterName. 2015-05-07 10:36:07,207 [INFO] [The process apache2 is not running trying recover ] apache2"
    The string matching should be made less strict and should be made to use like % operator.
    
    
    Tested on Xenserver:
    test_01_VRServiceFailureAlerting (test_VirtualRouter_alerts.TestVRServiceFailureAlerting) ... === TestName: test_01_VRServiceFailureAlerting | Status : SUCCESS ===
    ok
    
    ----------------------------------------------------------------------
    Ran 1 test in 1920.846s
    
    OK


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gauravaradhye/cloudstack 8453

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/239.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #239
    
----
commit 345a6dc1797777ab7cc9151ebeb94f4b8452b648
Author: Gaurav Aradhye <ga...@clogeny.com>
Date:   2015-05-08T14:09:37Z

    CLOUDSTACK-8453: Fix DB result check in test_VirtualRouter_alerts.py

----


> Fix DB result check in test_VirtualRouter_alerts.py
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-8453
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8453
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: Future
>            Reporter: Gaurav Aradhye
>            Assignee: Gaurav Aradhye
>              Labels: automation
>             Fix For: Future
>
>
> After stopping the apache service, the alerts in database is matched currently with the string "Monitoring Service on VR RouterName".
> The database contains the subject as "Monitoring Service on VR RouterName. 2015-05-07 10:36:07,207 [INFO] [The process apache2 is not running trying recover ] apache2"
> The string matching should be made less strict and should be made to use like % operator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)