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

test: Fix failing Oracle tests in exposed-tests #1831

Merged
merged 1 commit into from
Aug 11, 2023

Commits on Aug 10, 2023

  1. test: Fix failing Oracle exposed-core tests

    The following tests fail when run on Oracle:
    
    CreateMissingTablesAndColumnsTests/testCamelCaseForeignKeyCreation()
    
    Fails with:
    ORA-02275: such a referential constraint already exists in the table.
    
    Because Oracle metadata (via getImportedKeys()) only returns foreign keys that
    reference primary keys of the referenced table.
    
    The test now excludes Oracle.
    
    EntityTests/preloadOptionalReferencesOnASizedIterable()
    
    Fails on the first assertNotNull() because testCache() is unable to find
    school1.id = 0, which does not exist. The entity school1 is cached with its correct
    id.value = 1, but an incorrect value is passed as an argument unless the entity
    is first flushed after creation.
    bog-walk committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b8ca8e5 View commit details
    Browse the repository at this point in the history