Skip to content

Commit e52405d

Browse files
committed
Reduce the number of tested connection attributes, since default ones
where added and this would lead to a fail UT.
1 parent 8c0ac28 commit e52405d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/classes/connection.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2625,11 +2625,11 @@ void connection::connectAttrAdd()
26252625
if (perf_conn_attr_size < 512) {
26262626
SKIP("The performance_schema_session_connect_attrs_size is less then 512");
26272627
} else if (perf_conn_attr_size >= 512 && perf_conn_attr_size < 1024) {
2628-
max_count= 32;
2628+
max_count= 20;
26292629
} else if (perf_conn_attr_size >= 1024 && perf_conn_attr_size < 2048) {
2630-
max_count= 64;
2630+
max_count= 50;
26312631
} else if (perf_conn_attr_size >= 2048) {
2632-
max_count= 128;
2632+
max_count= 100;
26332633
}
26342634

26352635
try

0 commit comments

Comments
 (0)