Skip to content
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

Fixed postgres_tests.test_signals.OIDTests to run in isolation. #10491

Merged
merged 1 commit into from
Oct 9, 2018
Merged

Fixed postgres_tests.test_signals.OIDTests to run in isolation. #10491

merged 1 commit into from
Oct 9, 2018

Commits on Oct 7, 2018

  1. Fixed postgres_tests.test_signals.OIDTests to run in isolation.

    Fixes failures:
    
    ======================================================================
    FAIL: test_citext_cache (postgres_tests.test_signals.OIDTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File ".../django/tests/postgres_tests/test_signals.py", line 26, in test_citext_cache
        get_citext_oids(connection.alias)
      File ".../django/django/test/testcases.py", line 82, in __exit__
        '%d. %s' % (i, query['sql']) for i, query in enumerate(self.captured_queries, start=1)
    AssertionError: 1 != 0 : 1 queries executed, 0 expected
    Captured queries were:
    1. SELECT typarray FROM pg_type WHERE typname = 'citext'
    
    ======================================================================
    FAIL: test_hstore_cache (postgres_tests.test_signals.OIDTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File ".../django/tests/postgres_tests/test_signals.py", line 22, in test_hstore_cache
        get_hstore_oids(connection.alias)
      File ".../django/django/test/testcases.py", line 82, in __exit__
        '%d. %s' % (i, query['sql']) for i, query in enumerate(self.captured_queries, start=1)
    AssertionError: 1 != 0 : 1 queries executed, 0 expected
    Captured queries were:
    1. SELECT t.oid, typarray FROM pg_type t JOIN pg_namespace ns ON typnamespace = ns.oid WHERE typname = 'hstore'
    jdufresne committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    1b3c623 View commit details
    Browse the repository at this point in the history