Bug 1177722 - [RFE] Unittest framework for geo-replication
Summary: [RFE] Unittest framework for geo-replication
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Aravinda VK
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-30 05:28 UTC by Aravinda VK
Modified: 2015-05-14 17:35 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.0beta1
Clone Of:
Environment:
Last Closed: 2015-05-14 17:26:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Aravinda VK 2014-12-30 05:28:05 UTC
Description of problem:
Unittest framework is not available for Georep python code.

Comment 1 Anand Avati 2014-12-30 05:29:47 UTC
REVIEW: http://review.gluster.org/9290 (geo-rep: Unit tests infrastructure for geo-replication) posted (#4) for review on master by Aravinda VK (avishwan)

Comment 2 Anand Avati 2014-12-30 05:57:34 UTC
REVIEW: http://review.gluster.org/9290 (geo-rep: Unit tests infrastructure for geo-replication) posted (#5) for review on master by Aravinda VK (avishwan)

Comment 3 Anand Avati 2015-03-02 10:01:24 UTC
COMMIT: http://review.gluster.org/9290 committed in master by Vijay Bellur (vbellur) 
------
commit c3e6d6b54741cfbc828272ace576339ae3a37173
Author: Aravinda VK <avishwan>
Date:   Wed Dec 17 21:43:57 2014 +0530

    geo-rep: Unit tests infrastructure for geo-replication
    
    Added sample unit test file,
    $GLUSTER_SRC/geo-replication/tests/unit/test_syncdutils.py
    
    Install unittest dependencies, (tox https://tox.readthedocs.org/en/latest/,
    nose https://nose.readthedocs.org/en/latest/)
        sudo pip install --upgrade tox nose
    
    To run pep8 coding standards tests,
        cd $GLUSTER_SRC/geo-replication
        tox -e pep8
    
    To run unit tests,
        cd $GLUSTER_SRC/geo-replication
        tox -e py27
    
    py27 is for with Python 2.7+, or py26 for systems
    with Python 2.6+
    
    Change-Id: Ibdefe2c9d73afda9a7fa1c0db5b126f592b7cb40
    BUG: 1177722
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/9290
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Prashanth Pai <ppai>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 4 Niels de Vos 2015-05-14 17:26:20 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 5 Niels de Vos 2015-05-14 17:28:16 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:35:14 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.