Skip to content

Commit 3acb8ba

Browse files
authored
Update log integration tests after logging change on platform (#111)
We're changing the logging during Actor startup to also include the build ID, and this change would break the log test. This adjusts the test so that it won't fail when the platform change is released.
1 parent 2482336 commit 3acb8ba

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
=========
33

4+
[1.1.4](../../releases/tag/v1.1.4) - Unreleased
5+
-----------------------------------------------
6+
7+
### Internal changes
8+
9+
- Fixed integration tests for Actor logger
10+
11+
412
[1.1.3](../../releases/tag/v1.1.3) - 2023-08-25
513
-----------------------------------------------
614

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "apify"
3-
version = "1.1.3"
3+
version = "1.1.4"
44
description = "Apify SDK for Python"
55
readme = "README.md"
66
license = {text = "Apache Software License"}

tests/integration/test_actor_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async def main() -> None:
6464
run_log_lines = [line[25:] for line in run_log_lines]
6565

6666
# This might be way too specific and easy to break, but let's hope not
67-
assert run_log_lines.pop(0) == 'ACTOR: Pulling Docker image from repository.'
67+
assert run_log_lines.pop(0).startswith('ACTOR: Pulling Docker image')
6868
assert run_log_lines.pop(0) == 'ACTOR: Creating Docker container.'
6969
assert run_log_lines.pop(0) == 'ACTOR: Starting Docker container.'
7070
assert run_log_lines.pop(0) == 'INFO Initializing actor...'

0 commit comments

Comments
 (0)