-
Notifications
You must be signed in to change notification settings - Fork 257
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
Target is launched which should not be launched #371
Labels
Comments
Ooh crap, I think I see the problem. If test1 runs and errors out, it's still marked as "run", so test3 sees that it doesn't need to run test1 and assumes it had succeeded. Instead we need to mark test1 as a failure so that if anyone else tries to run it, they fail out. |
I think you are right. I just changed the test code a little bit. And now the bug can be reproduced at every run
|
a-palchikov
added a commit
to a-palchikov/mage
that referenced
this issue
Sep 27, 2021
to relay this as non-once result if dependencies are tested simulataneously. Fixes magefile#371.
a-palchikov
added a commit
to a-palchikov/mage
that referenced
this issue
Sep 27, 2021
replayed in case a parent depencency is tested simultaneously. Fixes magefile#371.
a-palchikov
added a commit
to a-palchikov/mage
that referenced
this issue
Sep 27, 2021
time (*onceFun).run is invoked. Fixes magefile#371.
a-palchikov
added a commit
to a-palchikov/mage
that referenced
this issue
Oct 4, 2021
time (*onceFun).run is invoked. Fixes magefile#371.
a-palchikov
added a commit
to a-palchikov/mage
that referenced
this issue
Feb 17, 2022
time (*onceFun).run is invoked. Fixes magefile#371.
a-palchikov
added a commit
to a-palchikov/mage
that referenced
this issue
Apr 20, 2022
time (*onceFun).run is invoked. Fixes magefile#371.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce this bug, it was necessary to run
go run mage.go test4
several times, because this error is floatingOutput:
test3
target is not expected to runThe text was updated successfully, but these errors were encountered: