mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Revert "CI: ARM integration tests: disable tests with HDFS "
This commit is contained in:
parent
2b93606ddd
commit
ff456ffb33
@ -1,10 +1,8 @@
|
||||
import base64
|
||||
import errno
|
||||
from functools import cached_property
|
||||
import http.client
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
import stat
|
||||
import os.path as p
|
||||
import pprint
|
||||
@ -4748,8 +4746,3 @@ class ClickHouseKiller(object):
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
self.clickhouse_node.start_clickhouse()
|
||||
|
||||
|
||||
@cached_property
|
||||
def is_arm():
|
||||
return any(arch in platform.processor().lower() for arch in ("arm, aarch"))
|
||||
|
@ -1,5 +1,5 @@
|
||||
import pytest
|
||||
from helpers.cluster import ClickHouseCluster, is_arm
|
||||
from helpers.cluster import ClickHouseCluster
|
||||
|
||||
cluster = ClickHouseCluster(__file__)
|
||||
node1 = cluster.add_instance("node1", main_configs=["configs/config_with_hosts.xml"])
|
||||
@ -16,11 +16,9 @@ node5 = cluster.add_instance(
|
||||
"node5", main_configs=["configs/config_without_allowed_hosts.xml"]
|
||||
)
|
||||
node6 = cluster.add_instance("node6", main_configs=["configs/config_for_remote.xml"])
|
||||
|
||||
if not is_arm():
|
||||
node7 = cluster.add_instance(
|
||||
"node7", main_configs=["configs/config_for_redirect.xml"], with_hdfs=True
|
||||
)
|
||||
node7 = cluster.add_instance(
|
||||
"node7", main_configs=["configs/config_for_redirect.xml"], with_hdfs=True
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
@ -272,7 +270,6 @@ def test_table_function_remote(start_cluster):
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.skipif(is_arm(), reason="skip for ARM")
|
||||
def test_redirect(start_cluster):
|
||||
hdfs_api = start_cluster.hdfs_api
|
||||
|
||||
@ -287,7 +284,6 @@ def test_redirect(start_cluster):
|
||||
node7.query("DROP TABLE table_test_7_1")
|
||||
|
||||
|
||||
@pytest.mark.skipif(is_arm(), reason="skip for ARM")
|
||||
def test_HDFS(start_cluster):
|
||||
assert "not allowed" in node7.query_and_get_error(
|
||||
"CREATE TABLE table_test_7_2 (word String) ENGINE=HDFS('http://hdfs1:50075/webhdfs/v1/simple_storage?op=OPEN&namenoderpcaddress=hdfs1:9000&offset=0', 'CSV')"
|
||||
@ -297,7 +293,6 @@ def test_HDFS(start_cluster):
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.skipif(is_arm(), reason="skip for ARM")
|
||||
def test_schema_inference(start_cluster):
|
||||
error = node7.query_and_get_error("desc url('http://test.com`, 'TSVRaw'')")
|
||||
assert error.find("ReadWriteBufferFromHTTPBase") == -1
|
||||
|
Loading…
Reference in New Issue
Block a user