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

Integration tests for SQLite and MySQL #1769

Merged
merged 13 commits into from Mar 9, 2020
Merged

Integration tests for SQLite and MySQL #1769

merged 13 commits into from Mar 9, 2020

Conversation

Jolg42
Copy link
Member

@Jolg42 Jolg42 commented Mar 5, 2020

Issues
#1603
#1602

SQLite: ready but each test is slow and takes 3s
MySQL: ready!

@Jolg42 Jolg42 added this to the Preview 24 New milestone Mar 5, 2020
@Jolg42 Jolg42 requested a review from timsuchanek March 5, 2020 15:31
@matthewmueller
Copy link
Contributor

🙌 🙌 🙌 🙌 🙌 🙌

@Jolg42
Copy link
Member Author

Jolg42 commented Mar 6, 2020

@matthewmueller We really need to name these tests one day, do you think you could help with that?

@Jolg42 Jolg42 marked this pull request as ready for review March 6, 2020 15:23
# Conflicts:
#	cli/prisma2/src/__tests__/integrate.postgresql.test.ts
@Jolg42 Jolg42 merged commit fd25d1e into master Mar 9, 2020
@Jolg42 Jolg42 deleted the integration-test-db branch March 9, 2020 09:34
This was linked to issues Mar 9, 2020
@matthewmueller
Copy link
Contributor

matthewmueller commented Mar 9, 2020

For my understanding, do these tests line up exactly? For example, "test 10" in sqlite is the same as "test 10" in mysql?

I'm wondering if we should stick all the database in the same file, so they don't drift.

@Jolg42
Copy link
Member Author

Jolg42 commented Mar 9, 2020

@matthewmueller We may want to reorganize the architecture at some point, right now they are copies so they follow the same order.

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.

Integration tests: SQLite Integration tests: MySQL
2 participants