Skip to content

Windows unit test cannot be compiled #1540

Closed

Description

@qweeah

What happened in your environment?

When compiling windows golang unit tests, got bellow error

> go test -count=1 ./...
# oras.land/oras/internal/testutils
internal\testutils\console.go:34:37: undefined: containerd.NewPty

What did you expect to happen?

The unit test should be compiled and run successfully

How can we reproduce it?

Run go test -count=1 ./... on Windows

What is the version of your ORAS CLI?

Dev branch on 5280c67

What is your OS environment?

Windows 11

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Nov 25, 2024
  2. added this to the v1.3.0 milestone on Nov 25, 2024
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

    bugtriage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions