Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Flake: TestPromisesScheduleErroredDontBlockDontRun #122

Open
carolynvs opened this issue Mar 15, 2022 · 0 comments
Open

Test Flake: TestPromisesScheduleErroredDontBlockDontRun #122

carolynvs opened this issue Mar 15, 2022 · 0 comments

Comments

@carolynvs
Copy link
Collaborator

I have noticed that TestPromisesScheduleErroredDontBlockDontRun fails occasionally and then passes when I retrigger the build. I never get it to fail locally though.

CGO_ENABLED=0 go build -ldflags="-s -w -X github.com/cnabio/cnab-to-oci/internal.GitCommit=8681d4f -X github.com/cnabio/cnab-to-oci/internal.Version=v0.3.1-beta1-10-g8681d4f -X github.com/cnabio/cnab-to-oci/internal.BuildTime=2022-03-15T14:32:58Z" -o bin/cnab-to-oci ./cmd/cnab-to-oci
go test -ldflags="-s -w -X github.com/cnabio/cnab-to-oci/internal.GitCommit=8681d4f -X github.com/cnabio/cnab-to-oci/internal.Version=v0.3.1-beta1-10-g8681d4f -X github.com/cnabio/cnab-to-oci/internal.BuildTime=2022-03-15T14:32:58Z" -failfast -race github.com/cnabio/cnab-to-oci github.com/cnabio/cnab-to-oci/cmd/cnab-to-oci github.com/cnabio/cnab-to-oci/converter github.com/cnabio/cnab-to-oci/internal github.com/cnabio/cnab-to-oci/relocation github.com/cnabio/cnab-to-oci/remotes github.com/cnabio/cnab-to-oci/tests
?   	github.com/cnabio/cnab-to-oci	[no test files]
?   	github.com/cnabio/cnab-to-oci/cmd/cnab-to-oci	[no test files]
ok  	github.com/cnabio/cnab-to-oci/converter	0.193s
?   	github.com/cnabio/cnab-to-oci/internal	[no test files]
?   	github.com/cnabio/cnab-to-oci/relocation	[no test files]
time="2022-03-15T14:34:59Z" level=warning msg="reference for unknown type: "
--- FAIL: TestPromisesScheduleErroredDontBlockDontRun (0.00s)
    promises_test.go:87: assertion failed: expected an error, got nil
FAIL
FAIL	github.com/cnabio/cnab-to-oci/remotes	0.124s
?   	github.com/cnabio/cnab-to-oci/tests	[no test files]
FAIL
make: *** [Makefile:68: test-unit] Error 1

Exited with code exit status 2

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

No branches or pull requests

1 participant