Fix flappy test, because dictionaries are loaded lazily

This commit is contained in:
alesapin 2019-12-04 21:30:47 +03:00
parent 7b8443710d
commit 172bbb1a2f
2 changed files with 3 additions and 0 deletions

View File

@ -1,2 +1,3 @@
INITIALIZING DICTIONARY
1
1 10

View File

@ -36,6 +36,8 @@ LAYOUT(FLAT());
SELECT 'INITIALIZING DICTIONARY';
SELECT dictGetUInt8('ordinary_db.dict1', 'second_column', toUInt64(100500));
SELECT lifetime_min, lifetime_max FROM system.dictionaries WHERE name = 'dict1';
DROP DICTIONARY IF EXISTS ordinary_db.dict1;