Fix cost field bug and several other bugs.
[alto.git] / alto-provider / src / test / java / org / opendaylight / alto / provider / AltoProviderTest.java
index 9cccca242e971e76c497e6bcc7f1afade6828b21..e71b24308eb1487b5e678b2e2231a0ebe49b1600 100644 (file)
@@ -151,7 +151,7 @@ public class AltoProviderTest {
       List<TypedEndpointAddress> teaList2 = new ArrayList<TypedEndpointAddress>();
       teaList2.add(tea2);
 
-      DstCosts1 dc1 = new DstCosts1Builder().setCostDefault(1).build();
+      DstCosts1 dc1 = new DstCosts1Builder().setCostDefault(Integer.toString(1)).build();
       DstCosts dc = new DstCostsBuilder().setDst(tea2).addAugmentation(DstCosts1.class, dc1).build();
 
       List<DstCosts> dcList = new ArrayList<DstCosts>();