Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Dec 17, 2022
1 parent ad73986 commit 4cf0fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scheduler/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ def __call__(self, task_run: TaskRun, _):
self.runs.append(task_run)


@pytest.mark.flaky
def test_scheduler(task_scheduler: TaskScheduler):
def test_scheduler_node(task_scheduler: TaskScheduler):
assert task_scheduler
assert task_scheduler.broker.registry
assert "dummy" in task_scheduler.registry
Expand Down Expand Up @@ -72,6 +71,7 @@ async def test_dummy_rate_limit(task_consumer: TaskConsumer):
assert task_consumer.num_concurrent_tasks == 0


@pytest.mark.flaky
async def test_scheduled(task_consumer: TaskConsumer):
handler = WaitFor(name="scheduled")
task_consumer.register_handler("end.scheduled", handler)
Expand Down

0 comments on commit 4cf0fa6

Please sign in to comment.