Skip to content

Commit

Permalink
Merge pull request #696 from just-now/query-hang-fix
Browse files Browse the repository at this point in the history
Fixed query test. Added more iterations to uv_run() to deliver pool's callbacks.
  • Loading branch information
cole-miller authored Sep 2, 2024
2 parents 9f54f74 + b74145c commit aa585cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ TEST_SETUP(query)
PREPARE_CONN("CREATE TABLE test (n INT)", &stmt_id);
EXEC_CONN(stmt_id, &f->last_insert_id, &f->rows_affected, 7);
PREPARE_CONN("INSERT INTO test(n) VALUES (123)", &f->insert_stmt_id);
EXEC_CONN(f->insert_stmt_id, &f->last_insert_id, &f->rows_affected, 4);
EXEC_CONN(f->insert_stmt_id, &f->last_insert_id, &f->rows_affected, 9);
return f;
}

Expand Down

0 comments on commit aa585cd

Please sign in to comment.