-
Notifications
You must be signed in to change notification settings - Fork 516
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
base: dev/aio-connector
Are you sure you want to change the base?
Conversation
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not applied
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not applied
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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}" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed!
e673724
to
0dc54a6
Compare
149e337
to
322852d
Compare
Cherry-picks required to fix pipelines