Skip to content

Commit

Permalink
live-test: improve error message when the selected connection did not…
Browse files Browse the repository at this point in the history
… run the control version (#45335)
  • Loading branch information
alafanechere authored Sep 10, 2024
1 parent 8d7b191 commit e4c26e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions airbyte-ci/connectors/live-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ The traffic recorded on the control connector is passed to the target connector

## Changelog

### 0.18.8

Improve error message when failing to retrieve connection.
Ask to double-check that a sync ran with the control version on the selected connection.

### 0.18.7

Improve error message when failing to retrieve connection.
Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/live-tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "live-tests"
version = "0.18.7"
version = "0.18.8"
description = "Contains utilities for testing connectors against live data."
authors = ["Airbyte <[email protected]>"]
license = "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def _get_connection_objects_from_retrieved_objects(
)
elif retrieved_source_docker_image.split(":")[1] != source_docker_image_tag:
raise InvalidConnectionError(
f"The provided docker image tag ({source_docker_image_tag}) does not match the image tag for connection ID {connection_id}. Please double check that this connection is using the correct image tag. Connection URL: {connection_url}"
f"The provided docker image tag ({source_docker_image_tag}) does not match the image tag for connection ID {connection_id}. Please double check that this connection is using the correct image tag and the latest job ran using this version. Connection URL: {connection_url}"
)

return ConnectionObjects(
Expand Down

0 comments on commit e4c26e8

Please sign in to comment.