Merge pull request #61778 from ClickHouse/ci_disable_grpc_tests_on_arm

CI: disable grpc tests on ARM
This commit is contained in:
Max K 2024-03-25 21:50:58 +01:00 committed by GitHub
commit b4ed7ded9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import time
import pytz
import uuid
import grpc
from helpers.cluster import ClickHouseCluster, run_and_check
from helpers.cluster import ClickHouseCluster, is_arm, run_and_check
from threading import Thread
import gzip
import lz4.frame
@ -20,6 +20,10 @@ import clickhouse_grpc_pb2, clickhouse_grpc_pb2_grpc # Execute pb2/generate.py
GRPC_PORT = 9100
DEFAULT_ENCODING = "utf-8"
# GRPC is disabled on ARM build - skip tests
if is_arm():
pytestmark = pytest.mark.skip
# Utilities

View File

@ -5,9 +5,13 @@ from string import Template
import pymysql.cursors
import pytest
from helpers.client import QueryRuntimeException
from helpers.cluster import ClickHouseCluster
from helpers.cluster import ClickHouseCluster, is_arm
from helpers.network import PartitionManager
if is_arm():
pytestmark = pytest.mark.skip
cluster = ClickHouseCluster(__file__)
clickhouse_node = cluster.add_instance(
"node1",