Sharad Mishra has posted comments on this change. Change subject: core: Update StoragePoolValidator test to test GlusterFS. ......................................................................
Patch Set 12: (2 inline comments) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AddEmptyStoragePoolCommand.java Line 69: addCanDoActionMessage(VersionSupport.getUnsupportedVersionMessage()); Line 70: result = false; Line 71: } else if (!validate(storagePoolValidator.isPosixDcAndMatchingCompatiblityVersion())) { Line 72: result = false; Line 73: } else if (!validate(storagePoolValidator.isGlusterDcAndMatchingCompatiblityVersion())) { I agree, we can do it as part of another patch. This patchset has been hanging around for a while. Line 74: result = false; Line 75: } Line 76: return result; Line 77: } .................................................... File backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/storage/StoragePoolValidatorTest.java Line 30: mockConfig(ConfigValues.PosixStorageEnabled, "general", false), Line 31: mockConfig(ConfigValues.GlusterFsStorageEnabled, Version.v3_1.toString(), false), Line 32: mockConfig(ConfigValues.GlusterFsStorageEnabled, Version.v3_2.toString(), false), Line 33: mockConfig(ConfigValues.GlusterFsStorageEnabled, Version.v3_0.toString(), false), Line 34: mockConfig(ConfigValues.GlusterFsStorageEnabled, Version.v3_3.toString(), true)); This is MockConfigDescriptor object. Line 35: Line 36: private StoragePoolValidator validator = null; Line 37: private storage_pool storagePool = null; Line 38: -- To view, visit http://gerrit.ovirt.org/8836 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie4cd98cd06716c31248d8ec4f21a3a6f79f13102 Gerrit-PatchSet: 12 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sharad Mishra <snmis...@linux.vnet.ibm.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Ayal Baron <aba...@redhat.com> Gerrit-Reviewer: Deepak C Shetty <deepa...@linux.vnet.ibm.com> Gerrit-Reviewer: Itamar Heim <ih...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Laszlo Hornyak <lhorn...@redhat.com> Gerrit-Reviewer: Sharad Mishra <snmis...@linux.vnet.ibm.com> Gerrit-Reviewer: Shireesh Anjal <san...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches