Gilad Chaplik has posted comments on this change.

Change subject: engine: support for adding network qos for rest-api
......................................................................


Patch Set 6:

(1 comment)

http://gerrit.ovirt.org/#/c/31868/6/backend/manager/modules/vdsbroker/src/test/java/org/ovirt/engine/core/vdsbroker/vdsbroker/SetupNetworksVDSCommandTest.java
File 
backend/manager/modules/vdsbroker/src/test/java/org/ovirt/engine/core/vdsbroker/vdsbroker/SetupNetworksVDSCommandTest.java:

Line 187:         Map<String, Object> networkStruct = 
assertNeworkWasSent(network);
Line 188:         NetworkQosMapper qosMapper =
Line 189:                 new NetworkQosMapper(networkStruct, 
VdsProperties.HOST_QOS_INBOUND, VdsProperties.HOST_QOS_OUTBOUND);
Line 190:         NetworkQoS deserialize = qosMapper.deserialize();
Line 191:         assertTrue((expectedQos == null && deserialize == null) || 
expectedQos.equalValues(deserialize));
> possible NPE, should check if expectedQos is not null in the second part
Done
Line 192:     }
Line 193: 
Line 194:     @Test
Line 195:     public void qosNotSupported() {


-- 
To view, visit http://gerrit.ovirt.org/31868
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I34f43f9edc10b7b52e096b2b6f1f43d19f129ed5
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Lior Vernia <lver...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to