Skip to content

test(mcp): android_start test probes port 5556 without the shared auto-floor lock #308

Closed

Description

@ElbertePlinio

Found while fixing #306.

The android_start test in packages/mcp-server/test/android.test.ts starts an emulator with no port, so the allocator probes from 5556 without a lock. The CLI lifecycle tests now hold a host-wide auto-floor lock for that floor, but the MCP test does not take it. It only asserts /^emulator-\d+$/, so it does not fail itself, but its probe can make the CLI test see 5556 as bound.

  • Take the same auto-floor test port lock in the MCP android_start test, or give it a private port range
  • Repeat-run evidence with the CLI and MCP suites running at once

Activity

  1. added
    bug
    on Oct 8, 2026
  2. added a commit that references this issue on Oct 8, 2026
    5edb594
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions