Skip to content

test: stabilize shared test infrastructure behavior - #57

Merged
mattleibow merged 4 commits into
mainfrom
pr56c/01-b-test-infra
Feb 17, 2026
Merged

mattleibow merged 4 commits into
mainfrom
pr56c/01-b-test-infra

Conversation

@mattleibow

@mattleibow mattleibow commented Feb 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This PR improves shared test infrastructure behavior to make test execution more deterministic and easier to debug.

Changes

  • Adds and applies scoped environment-variable handling for test execution paths.
  • Improves cleanup/disposal behavior in test helpers and fixtures.
  • Hardens temporary file/directory handling used by test infrastructure.
  • Keeps APK manifest expectations unchanged in this PR.

Validation

  • dotnet build --configuration Release
  • dotnet test AndroidSdk.Tests/AndroidSdk.Tests.csproj --configuration Release --filter "FullyQualifiedName~ApkReader_Tests|FullyQualifiedName~AvdLocator_Tests|FullyQualifiedName~SdkManager_CmdLineToolsVersionComparer_Tests|FullyQualifiedName~SdkManager_Download_Tests|FullyQualifiedName~SdkManager_Tests"

mattleibow and others added 2 commits February 17, 2026 12:06
- Change AvdHomeScope to internal
- Change AndroidSdkManagerFixture.TryUsingGlobalSdk to private
- Fix AvdManagerTestsBase.Dispose to call base.Dispose() to prevent resource leaks
- Ensure TestsBase remains public for API compatibility
- Preserve net9-only constraints via csproj configuration

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mattleibow mattleibow changed the title test: PR-B test infrastructure cluster test: stabilize shared test infrastructure behavior Feb 17, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Feb 17, 2026 •

Copy link
Copy Markdown

Test Results

74 tests   69 ✅  8m 30s ⏱️
 2 suites   5 💤
 2 files     0 ❌

Results for commit 6812835.

♻️ This comment has been updated with latest results.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mattleibow
mattleibow merged commit 257ad83 into main Feb 17, 2026
5 checks passed
@mattleibow
mattleibow deleted the pr56c/01-b-test-infra branch February 17, 2026 13:28
Sign up for free to 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.

1 participant