Bug 948657 - Fix failing unit tests
Summary: Fix failing unit tests
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: object-storage
Version: 3.4.0-alpha
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Junaid
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-05 01:42 UTC by Peter Portante
Modified: 2013-08-06 22:39 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:32:59 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Peter Portante 2013-04-05 01:42:05 UTC
Unit tests don't run right anymore now that we implicitly depend on grizzly 1.7.6.

We should probably make the unit tests run using something like tox, to hide the environment needed so that we don't need the host system that runs the tests to change much.

Comment 1 Anand Avati 2013-04-05 01:43:48 UTC
REVIEW: http://review.gluster.org/4781 (object-storage: use tox for unit tests; fix em too) posted (#1) for review on master by Peter Portante (pportant)

Comment 2 Anand Avati 2013-04-05 17:14:24 UTC
REVIEW: http://review.gluster.org/4781 (object-storage: use tox for unit tests; fix em too) posted (#2) for review on master by Peter Portante (pportant)

Comment 3 Anand Avati 2013-04-05 18:21:09 UTC
COMMIT: http://review.gluster.org/4781 committed in master by Anand Avati (avati) 
------
commit 6a7d28c0f8c107baf376eceb9fc05d9e80bf74e5
Author: Peter Portante <peter.portante>
Date:   Thu Apr 4 13:08:32 2013 -0400

    object-storage: use tox for unit tests; fix em too
    
    Add the ability to use tox for unit tests, since it helps us solve the
    problem of supporting multiple branches that require different
    versions of dependencies, and allows us to possibly support multiple
    versions of python in the future.
    
    Also fix the code to work with pre-grizzly environments, by not
    requiring the constraints backport.
    
    Also fixed the xattr support to work with both pyxattr and xattr
    modules.
    
    And fixed the ring tests to also work without a live /etc/swift
    directory.
    
    BUG: 948657 (https://bugzilla.redhat.com/show_bug.cgi?id=948657)
    Change-Id: I2be79c8ef8916bb6552ef957094f9186a963a068
    Signed-off-by: Peter Portante <peter.portante>
    Reviewed-on: http://review.gluster.org/4781
    Reviewed-by: Alex Wheeler <wheelear>
    Tested-by: Alex Wheeler <wheelear>
    Reviewed-by: Anand Avati <avati>

Comment 4 Anand Avati 2013-05-03 17:17:40 UTC
REVIEW: http://review.gluster.org/4947 (object-storage: use tox for unit tests; fix em too) posted (#1) for review on release-3.4 by Alex Wheeler (wheelear)


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