From d3455fa906198ca0db58bfde378fc0be269304c9 Mon Sep 17 00:00:00 2001 From: Pramila Singh Date: Mon, 26 Aug 2013 13:36:27 -0700 Subject: [PATCH 1/1] Fix for NorthboundIT test failure Change-Id: I0d3c2216bf2cdb9ba23b186307ad49b8f2b36184 Signed-off-by: Pramila Singh --- .../controller/northbound/integrationtest/NorthboundIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java b/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java index 76974d7541..dfc4b4978a 100644 --- a/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java +++ b/opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java @@ -489,9 +489,9 @@ public class NorthboundIT { // Test add property to node // Add Tier and Description property to node1 result = getJsonResult(baseURL + "node/STUB/" + nodeId_1 + "/property/tier/1001", "PUT"); - Assert.assertEquals(200, httpResponseCode.intValue()); + Assert.assertEquals(201, httpResponseCode.intValue()); result = getJsonResult(baseURL + "node/STUB/" + nodeId_1 + "/property/description/node1", "PUT"); - Assert.assertEquals(200, httpResponseCode.intValue()); + Assert.assertEquals(201, httpResponseCode.intValue()); // Test for first node result = getJsonResult(baseURL + "nodes"); -- 2.36.6