added wrong path for hdfs test

This commit is contained in:
Andrey Zvonov 2023-06-22 17:19:47 +02:00
parent 20f8b0b4f4
commit 765b4ce279

View File

@ -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