summaryrefslogtreecommitdiffstats
path: root/tests/basic/glusterd
diff options
context:
space:
mode:
authorSunil Kumar Acharya <sheggodu@redhat.com>2018-10-24 18:11:13 +0530
committerSunil Kumar Acharya <sheggodu@redhat.com>2018-10-24 18:45:50 +0530
commite15a5a5cc67fa3323722353bb4ccca0ea41aa594 (patch)
tree72ac6ff5e96e076ff5321dd585f703666c89f417 /tests/basic/glusterd
parent87613d265a1a394d785daeed569b384cd74c6574 (diff)
cluster/ec : Prevent volume create without redundant brick
Problem: EC volumes can be created without any redundant brick. Solution: Updated the conditional check to avoid volume create without redundant brick. fixes: bz#1642448 Change-Id: I0cb334b1b9378d67fcb8abf793dbe312c3179c0b Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com>
Diffstat (limited to 'tests/basic/glusterd')
-rw-r--r--tests/basic/glusterd/disperse-create.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic/glusterd/disperse-create.t b/tests/basic/glusterd/disperse-create.t
index e5ce74c12b2..5b3ed138e3e 100644
--- a/tests/basic/glusterd/disperse-create.t
+++ b/tests/basic/glusterd/disperse-create.t
@@ -48,6 +48,7 @@ TEST ! $CLI volume create $V0 redundancy 1 redundancy 1 $H0:$B0/b20 $H0:$B0/b21
#Minimum counts test
TEST ! $CLI volume create $V0 disperse 2 $H0:$B0/b20 $H0:$B0/b22
TEST ! $CLI volume create $V0 disperse-data 1 redundancy 0 $H0:$B0/b20 $H0:$B0/b22
+TEST ! $CLI volume create $V0 disperse 4 disperse-data 4 $H0:$B0/b20 $H0:$B0/b21 $H0:$B0/b23 $H0:$B0/b24
TEST ! $CLI volume create $V0 redundancy 0 $H0:$B0/b20 $H0:$B0/b22
#Wrong count n != k+m
rfs.spec.in?id=94b0ac65c35d5e167d8e761f198edffe78c7dab2'>build: remove /sbin/ldconfig as interpreterBala.FA2014-09-251-4/+11 * RPM spec file: Fixed the description for glusterfsLalatendu Mohanty2014-09-051-12/+15 * rpm: fix date in %changelogNiels de Vos2014-08-271-3/+3 * build: Support for unit tests using Cmockery2Luis Pabon2014-07-181-0/+7 * gfapi : remove gfapi.py to avoid confusionHumble Chirammal2014-07-141-14/+0 * Autoload fuse module in centos5/el5 versions.Humble Chirammal2014-07-141-0/+8 * build: glusterfs.spec.in, adding nfs-utils package dependency for server packageVikhyat Umrao2014-07-021-0/+5 * build/glusterfs.spec.in: %post server doesn't wait for old glusterdKaleb S. KEITHLEY2014-07-021-1/+4 * glusterd/snapshot: verify for lvm commandsHarshavardhana2014-06-281-2/+7 * Revert "gfapi : remove gfapi.py to avoid confusion"Vijay Bellur2014-06-201-0/+16 * gfapi : remove gfapi.py to avoid confusionHumble Chirammal2014-06-201-16/+0 * tests: add missing check for yajl to run-tests.shJustin Clift2014-06-131-1/+1 * extras: bash command completion for glusterVarun Shastry2014-06-131-0/+9 * rpm: Rename old hookscripts in an RPM-standard way.Poornima G2014-05-291-0/+12 * tests/rpm: always run ./autogen.sh to create missing filesNiels de Vos2014-05-211-1/+6 * glusterd/geo-rep: Allow gverify.sh and S56glusterd-geo-rep-create-post.shAvra Sengupta2014-05-141-0/+1 * glusterfs.spec: Add missing files in %files sectionPranith Kumar K2014-05-041-0/+13 * cli/hooks : Add volume set options to enable/disable nfs-ganesha support.Meghana M2014-05-031-0/+6 * build: glusterfs.spec.in, minor/nit changes to sync with Fedora specKaleb S. KEITHLEY2014-04-291-18/+25 * build: fix RHEL 7 build issueBala.FA2014-04-251-0/+6 * Add upgrade scripts for quotaKrutika Dhananjay2014-04-171-0/+2 * build: rearrange spec file elementsBala.FA2014-04-101-299/+334 * build: set version based on git tag or specificBala.FA2014-04-101-1/+4 * rpm: fix broken glusterfs-server install of hooksKaleb S. KEITHLEY2014-04-051-11/+0 * rpm: Include the hook scripts of add-brick, volume start, stop and set.Poornima G2014-03-271-0/+14 * features/glupy: Rename Glupy python module to avoid namespace conflictJustin Clift2014-03-241-1/+60 * build: Remove cmockery2 from repoLuis Pabon2014-03-171-7/+0 * build: Don't build geo-replication rpms when on EL5Justin Clift2014-03-081-1/+8 * build: GlusterFS Unit Test FrameworkLuis Pabon2014-03-061-0/+7 * rpm: drop the glusterfs-devel dependency from glusterfs-apiNiels de Vos2014-02-261-1/+3 * spec: geo-rep: Include hooks and upgrade scriptsAravinda VK2014-02-101-0/+21 * build: Install /var/lib/glusterd/groups/virt by defaultNiels de Vos2014-01-211-2/+5 * build: the main glusterfs package should not provide glusterfs-libsNiels de Vos2014-01-071-2/+3 * build: fix day in the %changelogHarshavardhana2013-12-271-2/+2 * build: Merge glusterfs.spec changes from FedoraKaleb S. KEITHLEY2013-12-131-115/+109 * glusterfs.spec: Add 'python and python-ctypes' dependencyv3.5qa2Harshavardhana2013-11-261-0/+1 * build: disable logging framework on rhel6Bala.FA2013-10-181-19/+19