Skip to content

Test only for Optimize Oracle SchemaManager #2767

Closed
mondrake wants to merge 2 commits intodoctrine:masterfrom
mondrake:opt-oracle-schema-manager-test
Closed

Test only for Optimize Oracle SchemaManager #2767
mondrake wants to merge 2 commits intodoctrine:masterfrom
mondrake:opt-oracle-schema-manager-test

Conversation

@mondrake
Copy link
Copy Markdown
Contributor

@mondrake mondrake commented Jul 4, 2017

This is a test only patch for #2766, to measure the duration of running createSchema on an Oracle db with a significant number of tables.

@mondrake
Copy link
Copy Markdown
Contributor Author

mondrake commented Jul 4, 2017

On continuousphp, running createSchema on an Oracle db with about 170 tables takes over a minute.

Time: 4.18 minutes, Memory: 80.00MB 
 
There was 1 failure: 
 
1) Doctrine\Tests\DBAL\Functional\Schema\OracleSchemaManagerTest::testCreateSchemaOnLargeNumberOfTables 
createSchema() executed in less than 15 sec. 
Failed asserting that 64.17334699630737 is less than 15. 
 
tests/Doctrine/Tests/DBAL/Functional/Schema/OracleSchemaManagerTest.php:292 
 
FAILURES! 
Tests: 4613, Assertions: 8763, Failures: 1, Skipped: 519, Incomplete: 11. 

@mondrake
Copy link
Copy Markdown
Contributor Author

mondrake commented Jul 4, 2017

Closing this PR, it's only meant to prove the issue at hand.

@mondrake mondrake closed this Jul 4, 2017
@mondrake mondrake deleted the opt-oracle-schema-manager-test branch July 4, 2017 13:50
@Ocramius Ocramius self-assigned this Jul 7, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants