fix tests

This commit is contained in:
avogar 2021-11-08 14:12:06 +03:00
parent 77f5ef476a
commit f10dfbe61a
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
</disk_memory>
<disk_hdfs>
<type>hdfs</type>
<endpoint>http://hdfs1:9000/data/</endpoint>
<endpoint>hdfs://hdfs1:9000/data/</endpoint>
</disk_hdfs>
<disk_encrypted>
<type>encrypted</type>

View File

@ -100,7 +100,7 @@ def test_bad_hdfs_uri(started_cluster):
"create table BadStorage1 (id UInt32, name String, weight Float64) ENGINE = HDFS('hads:hgsdfs100500:9000/other_storage', 'TSV')")
except Exception as ex:
print(ex)
assert "Illegal HDFS URI" in str(ex)
assert "Bad hdfs url" in str(ex)
try:
node1.query(
"create table BadStorage2 (id UInt32, name String, weight Float64) ENGINE = HDFS('hdfs://hdfs100500:9000/other_storage', 'TSV')")