File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
2- # Copyright 2022-2024 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+ # Copyright 2022-2025 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33#
44# Redistribution and use in source and binary forms, with or without
55# modification, are permitted provided that the following conditions
@@ -100,9 +100,11 @@ async def test_get_system_shared_memory_status(self):
100100 async def test_register_system_shared_memory (self ):
101101 with self .assertRaisesRegex (
102102 InferenceServerException ,
103- "\[StatusCode\.INTERNAL\] Unable to open shared memory region: ''" ,
103+ "\[StatusCode\.INTERNAL\] Unable to open shared memory region: '/test_shm '" ,
104104 ):
105- await self ._triton_client .register_system_shared_memory ("" , "" , 0 )
105+ await self ._triton_client .register_system_shared_memory (
106+ "test_shm" , "/test_shm" , 0
107+ )
106108
107109 async def test_unregister_system_shared_memory (self ):
108110 await self ._triton_client .unregister_system_shared_memory ()
You can’t perform that action at this time.
0 commit comments