Gemport config is synchronous in XGSPON hence wait for gemport cfg complete indication is enabled only for GPON.
Change-Id: I04dc4b3c9d743e81c51a3159a23fec9d912aa841
diff --git a/agent/test/src/test_core.cc b/agent/test/src/test_core.cc
index 6df510b..58e7073 100644
--- a/agent/test/src/test_core.cc
+++ b/agent/test/src/test_core.cc
@@ -2886,7 +2886,7 @@
pon_cfg.data.state = BCMOLT_INTERFACE_STATE_ACTIVE_WORKING;
bcmos_errno olt_cfg_get_pon_stub_res = BCM_ERR_OK;
EXPECT_GLOBAL_CALL(bcmolt_cfg_get__pon_intf_stub, bcmolt_cfg_get__pon_intf_stub(_, _))
- .WillOnce(DoAll(SetArg1ToBcmOltPonCfg(pon_cfg), Return(olt_cfg_get_pon_stub_res)));
+ .WillRepeatedly(DoAll(SetArg1ToBcmOltPonCfg(pon_cfg), Return(olt_cfg_get_pon_stub_res)));
future<Status> future_res = async(launch::async, RemoveTrafficQueues_, traffic_queues);
future<int> push_gem_cfg_complt = \