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

[BUG] WorkflowDependencySensor doesn't fails the workflow run if invalid "dependency_job_id" is given #76

Open
anshima03 opened this issue Jan 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@anshima03
Copy link

To do a negative testing we tried using a random dependency_job_id in WorkflowDependencySensor function expecting that the workflow will fail but it continued searching for the job_id.

sensor = WorkflowDependencySensor(
databricks_host="https://......cloud.databricks.com",
databricks_token='' ,
dependency_job_id='some random job id',
poke_interval_seconds=60,
timeout_seconds=3600,
delta=timedelta(days=1)
)

The expectation is that the job fails saying "this job id does not exist" or similar but we see that it keeps searching that random job id and is in loop.

Screenshots
image (6)

Brickflow 10.3 version

@anshima03 anshima03 added the bug Something isn't working label Jan 4, 2024
@asingamaneni asingamaneni self-assigned this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants