Skip to content

Commit 6f2939a

Browse files
fix: restore 'Discovered' log message for E2E test compatibility
The refactoring changed the log message from 'Discovered' to 'Instrumented', breaking the E2E test regex in end_to_end_test_utilities.py:225. Co-authored-by: Kevin Turcios <KRRT7@users.noreply.github.com>
1 parent 1f914c5 commit 6f2939a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codeflash/optimization/function_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ def get_instrumented_path(original_path: str, suffix: str) -> Path:
16981698

16991699
if existing_test_files_count > 0 or replay_test_files_count > 0 or concolic_coverage_test_files_count > 0:
17001700
logger.info(
1701-
f"Instrumented {existing_test_files_count} existing unit test file"
1701+
f"Discovered {existing_test_files_count} existing unit test file"
17021702
f"{'s' if existing_test_files_count != 1 else ''}, {replay_test_files_count} replay test file"
17031703
f"{'s' if replay_test_files_count != 1 else ''}, and "
17041704
f"{concolic_coverage_test_files_count} concolic coverage test file"

0 commit comments

Comments
 (0)