Skip to content

Commit

Permalink
Fix unit tests and other compiler issues
Browse files Browse the repository at this point in the history
  • Loading branch information
daall committed Dec 7, 2020
1 parent 78f86b7 commit d57e6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions orchagent/orchdaemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ bool OrchDaemon::warmRestoreAndSyncUp()

for (Orch *o : m_orchList)
{
if (o == gAclOrch || o == gMirrorOrch) {
SWSS_LOG_ERROR("skipping ACL/mirror processing until the end");
if (o == gMirrorOrch) {
SWSS_LOG_DEBUG("Skipping mirror processing until the end");
continue;
}

Expand All @@ -563,8 +563,8 @@ bool OrchDaemon::warmRestoreAndSyncUp()
}

// MirrorOrch depends on everything else being settled before it can run,
// and AclOrch depends on MirrorOrch, so we handle these two after the rest
// of the data has been processed.
// and mirror ACL rules depend on MirrorOrch, so run these two at the end
// after the rest of the data has been processed.
gMirrorOrch->Orch::doTask();
gAclOrch->Orch::doTask();

Expand Down
1 change: 0 additions & 1 deletion tests/mock_tests/mock_orchagent_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ bool gSaiRedisLogRotate = false;
ofstream gRecordOfs;
string gRecordFile;

MirrorOrch *gMirrorOrch;
VRFOrch *gVrfOrch;

void syncd_apply_view() {}

0 comments on commit d57e6ca

Please sign in to comment.