prisma / prisma-engines

🚂 Engine components of Prisma ORM
https://www.prisma.io/docs/concepts/components/prisma-engines
Apache License 2.0
1.19k stars 238 forks source link

[DA] Planetscale engine tests: setDefault ref action #4472

Closed miguelff closed 8 months ago

miguelff commented 11 months ago

This is a subcluster of failures after having enabled planetscale tests in https://github.com/prisma/prisma-engines/pull/4423

Failing tests in this cluster:

new::ref_actions::on_delete::set_default::one2many_opt::delete_parent
new::ref_actions::on_delete::set_default::one2many_opt::delete_parent_no_exist_fail
new::ref_actions::on_delete::set_default::one2many_req::delete_parent
new::ref_actions::on_delete::set_default::one2many_req::delete_parent_no_exist_fail
new::ref_actions::on_delete::set_default::one2one_opt::delete_parent
new::ref_actions::on_delete::set_default::one2one_opt::delete_parent_no_exist_fail
new::ref_actions::on_delete::set_default::one2one_req::delete_parent
new::ref_actions::on_delete::set_default::one2one_req::delete_parent_no_exist_fail

Please follow this process

jkomyno commented 8 months ago

The test cases above are expected to fail, as:

MySQL doesn't support SetDefault for InnoDB (which is our only supported engine at the moment).

(the statement above can be found here).

I hence recommend we close this issue.

miguelff commented 8 months ago

Agreed @jkomyno. Thanks for evaluating this.