diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-05-15 09:24:33 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2014-06-04 23:30:18 -0700 |
commit | 7e3b038c6cea6a89feae684012fa6a33443c7473 (patch) | |
tree | d7ccc121ad5a346a36090bb578692f76876ec77a /tests | |
parent | 9f90cbee7da450271873340c0b13059064c41af1 (diff) |
cli/snapshot : Dont Do the validation of snapshot config limit in CLI
code path.
Problem : If we try to set the volume snap limit to
more that 256, it always shows value cannot exceed 256,
irrespective of system max limit.
Solution : Dont do validation in CLI side.
Change-Id: I292c0bc91a1806cd4906fca0151dd98135e6e49a
BUG: 1098122
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7777
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs/bug-1087203.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/bug-1087203.t b/tests/bugs/bug-1087203.t index 0c4ee01cba5..acbb826013d 100644 --- a/tests/bugs/bug-1087203.t +++ b/tests/bugs/bug-1087203.t @@ -32,6 +32,8 @@ TEST ! $CLI snapshot config snap-max-soft-limit 0111 TEST ! $CLI snapshot config snap-max-hard-limit OXA TEST ! $CLI snapshot config snap-max-hard-limit 11.11 TEST ! $CLI snapshot config snap-max-soft-limit 50% +TEST ! $CLI snapshot config snap-max-hard-limit -100 +TEST ! $CLI snapshot config snap-max-soft-limit -90 # Soft limit cannot be assigned to volume TEST ! $CLI snapshot config $V0 snap-max-soft-limit 10 |