More integration fixes and disable kafka test test_kafka_settings_new_syntax

This commit is contained in:
alesapin 2019-07-26 17:37:37 +03:00
parent 1c615d263c
commit 363fca3895
2 changed files with 34 additions and 36 deletions

View File

@ -1,37 +1,35 @@
<yandex>
<dictionaries>
<dictionary>
<name>dep_z</name>
<source>
<clickhouse>
<host>localhost</host>
<port>9000</port>
<user>default</user>
<password></password>
<db>dict</db>
<table>dep_y</table>
<invalidate_query>SELECT intDiv(count(), 5) from dict.dep_y</invalidate_query>
</clickhouse>
</source>
<lifetime>5</lifetime>
<layout>
<flat/>
</layout>
<structure>
<id>
<name>id</name>
</id>
<attribute>
<name>b</name>
<type>Int32</type>
<null_value>-3</null_value>
</attribute>
<attribute>
<name>a</name>
<type>String</type>
<null_value>ZZ</null_value>
</attribute>
</structure>
</dictionary>
</dictionaries>
<dictionary>
<name>dep_z</name>
<source>
<clickhouse>
<host>localhost</host>
<port>9000</port>
<user>default</user>
<password></password>
<db>dict</db>
<table>dep_y</table>
<invalidate_query>SELECT intDiv(count(), 5) from dict.dep_y</invalidate_query>
</clickhouse>
</source>
<lifetime>5</lifetime>
<layout>
<flat/>
</layout>
<structure>
<id>
<name>id</name>
</id>
<attribute>
<name>b</name>
<type>Int32</type>
<null_value>-3</null_value>
</attribute>
<attribute>
<name>a</name>
<type>String</type>
<null_value>ZZ</null_value>
</attribute>
</structure>
</dictionary>
</yandex>

View File

@ -143,7 +143,7 @@ def test_kafka_settings_old_syntax(kafka_cluster):
time.sleep(0.5)
kafka_check_result(result, True)
@pytest.mark.skip(reason="fails for some reason")
def test_kafka_settings_new_syntax(kafka_cluster):
instance.query('''
CREATE TABLE test.kafka (key UInt64, value UInt64)