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 <gaurav.arad...@clogeny.com>
Date:   2015-05-08T14:09:37Z

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

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to