forked from JetBrains/Exposed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Fix failing Oracle exposed-core tests (JetBrains#1831)
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.
- Loading branch information
Showing
2 changed files
with
31 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters