Skip to content

Commit d26669a

Browse files
committed
remove routing
Signed-off-by: Shoham Elias <shohame@amazon.com>
1 parent e9645bd commit d26669a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

python/python/tests/test_async_client.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8400,20 +8400,10 @@ async def test_function_kill_no_write(
84008400
request, cluster_mode=cluster_mode, protocol=protocol, timeout=15000
84018401
)
84028402

8403-
# call fcall to run the function
8404-
# make sure that fcall routes to a primary node, and not a replica
8405-
# if this happens, function_kill and function_stats won't find the function and will fail
8406-
primaryRoute = SlotKeyRoute(SlotType.PRIMARY, lib_name)
8407-
84088403
async def endless_fcall_route_call():
84098404
# fcall is supposed to be killed, and will return a RequestError
84108405
with pytest.raises(RequestError) as e:
8411-
if cluster_mode:
8412-
await test_client.fcall_ro_route(
8413-
func_name, arguments=[], route=primaryRoute
8414-
)
8415-
else:
8416-
await test_client.fcall_ro(func_name, arguments=[])
8406+
await test_client.fcall_ro(func_name, arguments=[])
84178407
assert "Script killed by user" in str(e)
84188408

84198409
async def wait_and_function_kill():

0 commit comments

Comments
 (0)