Skip to content

Disabled prepared statements in test

Stan Hu requested to merge sh-disabled-prepared-statements-in-test into master

Some tests may test migrations and change the types of columns. If this happens, Rails may cache a statement that will cause PostgreSQL to fail with the message, "cached plan must not change result type": https://github.com/rails/rails/issues/12330

This happened in https://gitlab.com/gitlab-org/gitlab-ee/issues/2890#note_34636077.

Merge request reports

Loading