TO BE REVERTED adding 100 to statistics to make changes in API package to force new package
Change-Id: I6e62f29b52f1c6dd798c0062219a2457003665a4
diff --git a/api/src/main/java/org/opencord/igmpproxy/IgmpStatistics.java b/api/src/main/java/org/opencord/igmpproxy/IgmpStatistics.java
index 5617017..37123e7 100644
--- a/api/src/main/java/org/opencord/igmpproxy/IgmpStatistics.java
+++ b/api/src/main/java/org/opencord/igmpproxy/IgmpStatistics.java
@@ -74,7 +74,7 @@
//Total number of group specific IGMP membership query messages received
private AtomicLong igmpGrpSpecificMembershipQuery = new AtomicLong();
//Total number of group and source specific IGMP membership query messages received
- private AtomicLong igmpGrpAndSrcSpecificMembershipQuery = new AtomicLong();
+ private AtomicLong igmpGrpAndSrcSpecificMembershipQuery = new AtomicLong(100);
public void setStats(IgmpStatistics current) {
igmpJoinReq.set(current.igmpJoinReq.get());
diff --git a/app/src/test/java/org/opencord/igmpproxy/impl/IgmpStatisticsTest.java b/app/src/test/java/org/opencord/igmpproxy/impl/IgmpStatisticsTest.java
index 3c9f5aa..2fd6275 100644
--- a/app/src/test/java/org/opencord/igmpproxy/impl/IgmpStatisticsTest.java
+++ b/app/src/test/java/org/opencord/igmpproxy/impl/IgmpStatisticsTest.java
@@ -173,7 +173,7 @@
sendPacket(igmpv3MembershipQueryPkt1);
assertAfter(WAIT_TIMEOUT, WAIT_TIMEOUT * 2, () ->
assertEquals(igmpStatisticsManager
- .getStat(IgmpStatisticType.IGMP_GRP_AND_SRC_SPESIFIC_MEMBERSHIP_QUERY).longValue(), 1));
+ .getStat(IgmpStatisticType.IGMP_GRP_AND_SRC_SPESIFIC_MEMBERSHIP_QUERY).longValue(), 101));
assertEquals(igmpStatisticsManager
.getStat(IgmpStatisticType.IGMP_GENERAL_MEMBERSHIP_QUERY).longValue(), 1);
assertEquals(igmpStatisticsManager.getStat(IgmpStatisticType.CURRENT_GRP_NUMBER_COUNTER).longValue(), 1);