fix flaky log statement in null_parameters (#3705)

It seems that sometimes the pruning is deferred and sometimes not with
this statement. What we care in this test is to see that it doesn't
crash. I think we don't care about the log statement for this line. So
it makes sense to not log this statement, and care about the result.
pull/3706/head^2
SaitTalhaNisanci 2020-04-03 17:01:59 +03:00 committed by GitHub
parent 7e682cd5e8
commit 32156dbf5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -1575,6 +1575,10 @@ DEBUG: Plan is router executable
0 0
(1 row) (1 row)
-- it seems that sometimes the pruning is deferred and sometimes not.
-- what we care about is that this doesn't crash and the log for this
-- one shouldn't matter. This is to prevent this test being from flaky.
SET client_min_messages to ERROR;
EXECUTE null_select_on_json_param(NULL); EXECUTE null_select_on_json_param(NULL);
count count
--------------------------------------------------------------------- ---------------------------------------------------------------------

View File

@ -309,6 +309,10 @@ EXECUTE null_select_on_json_param(NULL);
EXECUTE null_select_on_json_param(NULL); EXECUTE null_select_on_json_param(NULL);
EXECUTE null_select_on_json_param(NULL); EXECUTE null_select_on_json_param(NULL);
EXECUTE null_select_on_json_param(NULL); EXECUTE null_select_on_json_param(NULL);
-- it seems that sometimes the pruning is deferred and sometimes not.
-- what we care about is that this doesn't crash and the log for this
-- one shouldn't matter. This is to prevent this test being from flaky.
SET client_min_messages to ERROR;
EXECUTE null_select_on_json_param(NULL); EXECUTE null_select_on_json_param(NULL);
SET client_min_messages TO ERROR; SET client_min_messages TO ERROR;