MCPcopy Create free account
hub / github.com/apache/impala / test_idempotence

Method test_idempotence

tests/query_test/test_kill_query.py:67–81  ·  view source on GitHub ↗
(self, vector)

Source from the content-addressed store, hash-verified

65 )
66
67 def test_idempotence(self, vector):
68 protocol = vector.get_value('protocol')
69 with self.create_impala_client(protocol=protocol) as client, \
70 QueryToKill(self, protocol) as query_id_to_kill:
71 assert_kill_ok(client, query_id_to_kill)
72 assert_kill_error(
73 client,
74 ["Could not find query on any coordinator", "Cancelled"],
75 query_id=query_id_to_kill,
76 )
77 assert_kill_error(
78 client,
79 ["Could not find query on any coordinator", "Cancelled"],
80 query_id=query_id_to_kill,
81 )

Callers

nothing calls this directly

Calls 5

QueryToKillClass · 0.90
assert_kill_okFunction · 0.90
assert_kill_errorFunction · 0.90
create_impala_clientMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected