You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of #17426, I had to add an extra DrainAndServiceIO call to TestReadInteraction. While the changes to ReadHandler in that PR may look substantial, the smallest delta to that PR that triggered the addition above was to add the following in ReadHandler.cpp:
else if (IsType(InteractionType::Subscribe))
{
if (IsPriming())
{
err = SendSubscribeResponse();
mpExchangeCtx = nullptr;
SuccessOrExit(err);
mActiveSubscription = true;
auto * appCallback = mManagementCallback.GetAppCallback();
if (appCallback)
{
appCallback->OnSubscriptionEstablished(*this);
}
}
else
{
MoveToState(HandlerState::GeneratingReports);
mpExchangeCtx = nullptr;
}
//
// This is the line if added, causes the test to fail.
SuccessOrExit(err = InteractionModelEngine::GetInstance()->GetReportingEngine().ScheduleRun());
}
The text was updated successfully, but these errors were encountered:
Problem
As part of #17426, I had to add an extra
DrainAndServiceIO
call toTestReadInteraction
. While the changes toReadHandler
in that PR may look substantial, the smallest delta to that PR that triggered the addition above was to add the following inReadHandler.cpp
:The text was updated successfully, but these errors were encountered: