Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elyousfi5 committed Mar 5, 2024
1 parent 2186956 commit 7079690
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Pytest fixtures for Agent Nebula."""

import pathlib
import random

import pytest
from ostorlab.agent import definitions as agent_definitions
Expand All @@ -22,7 +23,7 @@ def agent_settings() -> runtime_definitions.AgentSettings:
key="agent/ostorlab/nebula",
bus_url="NA",
bus_exchange_topic="NA",
healthcheck_port=5301,
healthcheck_port=random.randint(5000, 6000),
redis_url="redis://guest:guest@localhost:6379",
)

Expand Down

0 comments on commit 7079690

Please sign in to comment.