Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backends/advanced/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,10 @@ services:

# Shared network for cross-project communication
networks:
default:
chronicle-network:
name: chronicle-network


volumes:
ollama_data:
driver: local
Expand Down
3 changes: 2 additions & 1 deletion tests/infrastructure/infra_tests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ Worker Registration Loss Detection Test
END

# Cleanup: Always restart workers after this test to ensure subsequent tests work
[Teardown] Run Keywords
[Teardown]
... Run Keywords
... Log To Console \n🧹 Cleanup: Restarting workers for subsequent tests
... AND Restart Workers Container

Expand Down
18 changes: 0 additions & 18 deletions tests/setup/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@
from pathlib import Path
from dotenv import load_dotenv

# Load .env file from backends/advanced directory if it exists
# This allows tests to work when run from VSCode or command line
# def load_env_file():
# """Load environment variables from .env file if it exists."""
# # Look for .env in backends/advanced directory
# env_file = Path(__file__).parent.parent.parent / "backends" / "advanced" / ".env"
# if env_file.exists():
# with open(env_file) as f:
# for line in f:
# line = line.strip()
# if line and not line.startswith('#') and '=' in line:
# key, value = line.split('=', 1)
# # Only set if not already in environment (CI takes precedence)
# if key not in os.environ:
# os.environ[key] = value

# Load .env file (CI environment variables take precedence)
# load_env_file()

# Load .env from backends/advanced directory to get COMPOSE_PROJECT_NAME
backend_env_path = Path(__file__).resolve().parents[2] / "backends" / "advanced" / ".env"
Expand Down
Loading