Skip to content

Aio connector fix workflows #2475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: dev/aio-connector
Choose a base branch
from

Conversation

sfc-gh-pczajka
Copy link
Collaborator

Cherry-picks required to fix pipelines

@sfc-gh-pczajka sfc-gh-pczajka changed the base branch from main to dev/aio-connector August 13, 2025 11:26
@sfc-gh-pczajka sfc-gh-pczajka added NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector labels Aug 13, 2025
def select_time_with_scale(conn_cnx, scale):
# Test key scales and meaningful cases in a single table operation
# Cover: no fractional seconds, milliseconds, microseconds, nanoseconds
scales = [0, 3, 6, 9] # Key precision levels
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems not to be applied to async version

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed



@pytest.mark.skipolddriver
def test_put_md5(tmp_path, conn_cnx):
"""This test uploads a single and a multi part file and makes sure that md5 is populated."""
# Generate random files and folders
small_folder = tmp_path / "small"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not applied

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

def test_ocsp_cache_when_server_is_down(
mock_fetch_ocsp_response, tmpdir, random_ocsp_response_validation_cache
):
def test_ocsp_cache_when_server_is_down(tmpdir):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not applied

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@@ -303,7 +303,9 @@ class NotRetryableException(Exception):
def fake_request_exec(**kwargs):
headers = kwargs.get("headers")
cnt = headers["cnt"]
time.sleep(3)
time.sleep(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Timeout changes from this file are not applied to async code

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!; fixed

# Test that connection respects server default when not explicitly set
assert (
cnx.client_session_keep_alive == server_default
), f"Expected client_session_keep_alive={server_default} (server default), got {cnx.client_session_keep_alive}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can have those clear messages in async version as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed!

@sfc-gh-pczajka sfc-gh-pczajka force-pushed the aio-connector-fix-workflows branch from e673724 to 0dc54a6 Compare August 14, 2025 14:11
@sfc-gh-pczajka sfc-gh-pczajka force-pushed the aio-connector-fix-workflows branch from 149e337 to 322852d Compare August 14, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants