Skip to content

Commit c8d2c35

Browse files
committed
Print version validation details - tmp debug info to investigate why pipeline is not skipping a test
1 parent 94f25a7 commit c8d2c35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ def wait_for_cluster_creation(redis_url, cluster_nodes, timeout=60):
260260

261261

262262
def skip_if_server_version_lt(min_version: str) -> _TestDecorator:
263+
print(
264+
f"Current version {REDIS_INFO.get('version', '0')}, skip_if_server_version_lt: {min_version}"
265+
)
263266
redis_version = REDIS_INFO.get("version", "0")
264267
check = Version(redis_version) < Version(min_version)
265268
return pytest.mark.skipif(check, reason=f"Redis version required >= {min_version}")

0 commit comments

Comments
 (0)