#3570 [BUG] flytekit-java workflow test may accidentally run real task
Issue created by
honnix
Describe the bug
If a workflow task is not mocked correctly, a workflow test may accidentally run the real task, which for some cases might result a rather bad consequence.
Expected behavior
Users should have more control of the desired behaviour and being more explicit about running real task.
Additional context to reproduce
When mocking a task in workflow test, making the input values unmatched will result in running real task.
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte