Skip to content

Commit

Permalink
fix(query-engine): uncomment D1 "createMany" tests (#4925)
Browse files Browse the repository at this point in the history
* fix(query-engine): uncomment D1 "createMany" tests

* chore: uncomment missing test
  • Loading branch information
jkomyno authored Jun 18, 2024
1 parent 05b7e05 commit 836ad78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@ mod create_many {
// Covers: Batching by row number.
// Each DB allows a certain amount of params per single query, and a certain number of rows.
// Each created row has 1 param and we create 1000 records.
// TODO: unexclude d1 once https://github.com/prisma/team-orm/issues/1070 is fixed
#[connector_test(schema(schema_4), exclude(Sqlite("cfd1")))]
#[connector_test(schema(schema_4))]
async fn large_num_records_horizontal(runner: Runner) -> TestResult<()> {
let mut records: Vec<String> = vec![];

Expand Down Expand Up @@ -250,8 +249,7 @@ mod create_many {
// Covers: Batching by row number.
// Each DB allows a certain amount of params per single query, and a certain number of rows.
// Each created row has 4 params and we create 1000 rows.
// TODO: unexclude d1 once https://github.com/prisma/team-orm/issues/1070 is fixed
#[connector_test(schema(schema_5), exclude(Sqlite("cfd1")))]
#[connector_test(schema(schema_5))]
async fn large_num_records_vertical(runner: Runner) -> TestResult<()> {
let mut records: Vec<String> = vec![];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ mod create_many {
// Covers: Batching by row number.
// Each DB allows a certain amount of params per single query, and a certain number of rows.
// Each created row has 1 param and we create 1000 records.
// TODO: unexclude d1 once https://github.com/prisma/team-orm/issues/1070 is fixed
#[connector_test(schema(schema_4), exclude(Sqlite("cfd1")))]
#[connector_test(schema(schema_4))]
async fn large_num_records_horizontal(runner: Runner) -> TestResult<()> {
let mut records: Vec<String> = vec![];

Expand Down Expand Up @@ -277,8 +276,7 @@ mod create_many {
// Covers: Batching by row number.
// Each DB allows a certain amount of params per single query, and a certain number of rows.
// Each created row has 4 params and we create 1000 rows.
// TODO: unexclude d1 once https://github.com/prisma/team-orm/issues/1070 is fixed
#[connector_test(schema(schema_5), exclude(Sqlite("cfd1")))]
#[connector_test(schema(schema_5))]
async fn large_num_records_vertical(runner: Runner) -> TestResult<()> {
let mut records: Vec<String> = vec![];

Expand Down

0 comments on commit 836ad78

Please sign in to comment.