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

View File

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