Skip to content

PYTHON-3762 Remove global code owners #1256

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

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

ShaneHarvey
Copy link
Member

@ShaneHarvey ShaneHarvey commented Jun 22, 2023

Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

Thanks!

@ShaneHarvey
Copy link
Member Author

Odd test failure:


=================================== FAILURES ===================================
_ TestAllScenarios.test_test_uri_options_tls-options_tlsInsecure_is_parsed_correctly _

args = (<test.test_uri_spec.TestAllScenarios testMethod=test_test_uri_options_tls-options_tlsInsecure_is_parsed_correctly>,)
kwargs = {}
original_workdir = '/home/runner/work/mongo-python-driver/mongo-python-driver/test/uri_options'

    def modified_test_scenario(*args, **kwargs):
        original_workdir = os.getcwd()
        os.chdir(target_workdir)
>       func(*args, **kwargs)

/home/runner/work/mongo-python-driver/mongo-python-driver/test/test_uri_spec.py:85: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/mongo-python-driver/mongo-python-driver/test/test_uri_spec.py:124: in run_scenario
    get_error_message_template(expected_warning, "warning") % test["description"],
E   AssertionError: True != False : Unexpected warning for test 'tlsInsecure is parsed correctly'
=============================== warnings summary ===============================
test/test_auth_spec.py::TestAuthSpec::test_connection-string_should_throw_an_exception_when_unsupported_auth_property_is_specified_(mongodb-oidc)
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/common.py:840: UserWarning: UnsupportedProperty is not a supported auth mechanism property. Must be one of ('SERVICE_NAME', 'SERVICE_REALM', 'CANONICALIZE_HOST_NAME', 'PROVIDER_NAME', 'AWS_SESSION_TOKEN').
    warnings.warn(str(exc))

test/test_client.py::TestClient::test_compression
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/compression_support.py:59: UserWarning: Unsupported compressor: foobar
    warnings.warn(f"Unsupported compressor: {compressor}")

test/test_client.py::TestClient::test_compression
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/common.py:840: UserWarning: zlibcompressionlevel must be between -1 and 9, not 10.
    warnings.warn(str(exc))

test/test_client.py::TestClient::test_compression
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/common.py:840: UserWarning: zlibcompressionlevel must be between -1 and 9, not -2.
    warnings.warn(str(exc))

test/test_client.py::TestClient::test_compression
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/compression_support.py:63: UserWarning: Wire protocol compression with snappy is not available. You must install the python-snappy module for snappy support.
    "Wire protocol compression with snappy is not available. "

test/test_client.py::TestClient::test_compression
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/compression_support.py:75: UserWarning: Wire protocol compression with zstandard is not available. You must install the zstandard module for zstandard support.
    "Wire protocol compression with zstandard is not available. "

test/test_client.py::TestClient::test_server_selection_timeout
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/common.py:840: UserWarning: serverselectiontimeoutms must be greater than 0 and less than one billion
    warnings.warn(str(exc))

test/test_client.py::TestClient::test_server_selection_timeout
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/common.py:840: UserWarning: serverselectiontimeoutms must be an integer or float
    warnings.warn(str(exc))

test/test_collection.py::TestCollection::test_cursor_timeout
test/test_cursor.py::TestCursor::test_add_remove_option
test/test_cursor.py::TestCursor::test_clone
test/test_monitoring.py::TestCommandMonitoring::test_find_options
  /home/runner/work/mongo-python-driver/mongo-python-driver/pymongo/collection.py:1661: UserWarning: use an explicit session with no_cursor_timeout=True otherwise the cursor may still timeout after 30 minutes, for more info see https://mongodb.com/docs/v4.4/reference/method/cursor.noCursorTimeout/#session-idle-timeout-overrides-nocursortimeout
    return Cursor(self, *args, **kwargs)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================

@ShaneHarvey ShaneHarvey merged commit 424e6c4 into mongodb:master Jun 22, 2023
@ShaneHarvey ShaneHarvey deleted the PYTHON-3762 branch June 22, 2023 21:15
ShaneHarvey added a commit that referenced this pull request Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants