Skip to content

Prevent HNS integration failures during network cleanup - #30

Draft
Prince Pereira (princepereira) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-integration-job-failure
Draft

Prevent HNS integration failures during network cleanup#30
Prince Pereira (princepereira) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-integration-job-failure

Conversation

CopilotAI commented Aug 24, 2026

Copy link
Copy Markdown

The Windows integration job failed in TestNetworkFlags with HCN_E_ADAPTER_NOT_FOUND when a new test network was created before HNS completed asynchronous teardown of the previous one.

  • Test cleanup
    • Poll for deleted networks to disappear from HNS before allowing subsequent test setup.
    • Preserve the existing fixed-name test network workflow while preventing adapter teardown races.
fori:=0; i<20; i++ {
time.Sleep(500*time.Millisecond)
if_, err:=GetNetworkByName(networkName); err!=nil {
return
}
}

Co-authored-by: princepereira <6368227+princepereira@users.noreply.github.com>
CopilotAI changed the title [WIP] Fix failing GitHub Actions job integrationPrevent HNS integration failures during network cleanupAug 24, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@princepereira