diff --git a/tests/queries/0_stateless/02906_force_optimize_projection_name.sql b/tests/queries/0_stateless/02906_force_optimize_projection_name.sql index 3c7c6273cff..773f8cc514d 100644 --- a/tests/queries/0_stateless/02906_force_optimize_projection_name.sql +++ b/tests/queries/0_stateless/02906_force_optimize_projection_name.sql @@ -16,4 +16,4 @@ SELECT name FROM test GROUP BY name SETTINGS force_optimize_projection_name='pro SELECT name FROM test GROUP BY name SETTINGS force_optimize_projection_name='non_existing_projection'; -- { serverError 117 } -SELECT name FROM test SETTINGS force_optimize_projection_name='non_existing_projection'; -- { serverError 117 } +SELECT name FROM test SETTINGS force_optimize_projection_name='projection_name'; -- { serverError 117 }