Skip to content

Commit 5917593

Browse files
committed
feat: Update max AST depth for knowledge graph and refine command execution syntax in tests
1 parent 2d800c5 commit 5917593

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

example.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PROMETHEUS_NEO4J_BATCH_SIZE=1000
1515

1616
# Knowledge Graph settings
1717
PROMETHEUS_WORKING_DIRECTORY=working_dir/
18-
PROMETHEUS_KNOWLEDGE_GRAPH_MAX_AST_DEPTH=3
18+
PROMETHEUS_KNOWLEDGE_GRAPH_MAX_AST_DEPTH=1
1919
PROMETHEUS_KNOWLEDGE_GRAPH_CHUNK_SIZE=8000
2020
PROMETHEUS_KNOWLEDGE_GRAPH_CHUNK_OVERLAP=1000
2121

tests/docker/test_base_container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_execute_command(container):
143143

144144
# Verify
145145
mock_container.exec_run.assert_called_once_with(
146-
"timeout -k 5 120s /bin/bash -lc test command", workdir=container.workdir
146+
'/bin/bash -l -c "timeout -k 5 120s test command"', workdir=container.workdir
147147
)
148148
assert result == "command output"
149149

0 commit comments

Comments
 (0)