Add test for GRPCServer's shutdown.

This commit is contained in:
Vitaly Baranov 2024-07-03 20:36:19 +02:00
parent e8701dc4e4
commit 87dda31a2c

View File

@ -39,6 +39,7 @@ node = cluster.add_instance(
"TSAN_OPTIONS": "report_atomic_races=0 " + os.getenv("TSAN_OPTIONS", default="")
},
ipv6_address=IPV6_ADDRESS,
stay_alive=True,
)
main_channel = None
@ -763,3 +764,9 @@ def test_opentelemetry_context_propagation():
)
== "SELECT 1\tsome custom state\n"
)
def test_restart():
assert query("SELECT 1") == "1\n"
node.restart_clickhouse()
assert query("SELECT 2") == "2\n"