mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
fix tests
This commit is contained in:
parent
77f5ef476a
commit
f10dfbe61a
@ -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>
|
||||
|
@ -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')")
|
||||
|
Loading…
Reference in New Issue
Block a user