Change count type in the cars model
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / provider / src / main / java / org / opendaylight / controller / clustering / it / provider / CarProvider.java
index 9e5e57db112cda2830175ee6f8c0eb53dbe45a9b..1ab7f5e9016c30a29ab493c978824f6e2b85c44a 100644 (file)
@@ -75,7 +75,8 @@ public class CarProvider implements CarService {
 
     @Override
     public Future<RpcResult<Void>> stressTest(StressTestInput input) {
-        final int inputRate, inputCount;
+        final int inputRate;
+        final long inputCount;
 
         // If rate is not provided, or given as zero, then just return.
         if ((input.getRate() == null) || (input.getRate() == 0)) {