Arik Hadas has posted comments on this change.
Change subject: core: change shared-lock msg of AddVmFromTemplate
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
Line 1528: while(iter.hasNext()) {
Line 1529:
result.addAll(Arrays.asList(iter.next().split("(?=\\$)")));
Line 1530: }
Line 1531: return result;
Line 1532: }
ok, if that happens it mean that there's a bug in ErrorTranslator class right?
it won't be possible to check it in unit-test.. so what I'm going to do is to
verify that when creating two VMs from the same template and then trying to
remove the template you get the proper error - one with each VM name. that
would mean that there's no problem in ErrorTranslator (although I think that if
such bug was already exist we would encounter because there are places where
you returned multiple can-do-action messages..), will it cover that?
Line 1533:
Line 1534: private EngineLock buildLock() {
Line 1535: EngineLock lock = null;
Line 1536: Map<String, Pair<String, String>> exclusiveLocks =
getExclusiveLocks();
--
To view, visit http://gerrit.ovirt.org/12488
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9fcc4d70bd5ca28c87ca7834bf2b699da5140fc5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches