mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
added wrong path for hdfs test
This commit is contained in:
parent
20f8b0b4f4
commit
765b4ce279
@ -101,6 +101,13 @@ def test_storage_with_multidirectory_glob(started_cluster):
|
||||
)
|
||||
assert (r == f"File1\t11\nFile2\t22\n") or (r == f"File2\t22\nFile1\t11\n")
|
||||
|
||||
try:
|
||||
node1.query("SELECT * FROM hdfs('hdfs://hdfs1:9000/multiglob/{p4/path1,p2/path3}/postfix/data{1,2}.nonexist', TSV)")
|
||||
assert False, "Exception have to be thrown"
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
assert "no files" in str(ex)
|
||||
|
||||
|
||||
def test_read_write_table(started_cluster):
|
||||
hdfs_api = started_cluster.hdfs_api
|
||||
|
Loading…
Reference in New Issue
Block a user