Skip to content

Commit a358705

Browse files
committed
fixed tests
1 parent db8ef6b commit a358705

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

tests/queries/0_stateless/03172_error_log_table_not_empty.reference

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
1
55
1
66
1
7-
3
7+
1
8+
1
9+
1

tests/queries/0_stateless/03172_error_log_table_not_empty.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,10 @@ FROM system.error_log
5151
LIMIT 1
5252
"
5353

54+
$CLICKHOUSE_CLIENT -m -q "
55+
SELECT not empty(last_error_trace) FROM system.error_log WHERE code = 333 LIMIT 1;
56+
SELECT last_error_query_id != '' FROM system.error_log WHERE code = 333 LIMIT 1;
57+
SELECT last_error_message != '' FROM system.error_log WHERE code = 333 LIMIT 1;
58+
"
59+
60+

0 commit comments

Comments
 (0)