Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1177722

Summary: [RFE] Unittest framework for geo-replication
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, gluster-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.0beta1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-14 17:26:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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