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(client): add vitess
flavor in relationMode test suite
#16051
Conversation
packages/client/tests/functional/_utils/relationMode/computeMatrix.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Note: only the relationMode
tests are also tested on vitess.
vitess
flavor in relatioMode test suite
vitess
flavor in relatioMode test suitevitess
flavor in relationMode test suite
What is the impact on CI/test run time? |
You can see that |
…isma/prisma into feat/test-vitess-flavor-relation-mode
…isma/prisma into feat/test-vitess-flavor-relation-mode
This PR:
vitess-8
(using the Docker imagevitess/vttestserver:mysql80
)ProviderFlavor
, a superset ofProviders
that allows distinguishing slightly different variants of providers. E.g., thevitess-8
flavor usesmysql
as theprovider
in the Prisma schema, but its url is mapped to theTEST_FUNCTIONAL_VITESS_8_URI
env variable rather thanTEST_FUNCTIONAL_MYSQL_URI
.Note: I have noticed Vitess is particularly slow. Maybe there's something sketchy on my local machine and it's faster on the CI.
Related #6927.