Skip to content

Commit 34865d1

Browse files
committed
use abs path
Signed-off-by: Praneeth Bedapudi <[email protected]>
1 parent 9507c28 commit 34865d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, connection_id, server_url, target_rps, duration,
4848
def _load_function(self):
4949
"""Load the Python function inside the process"""
5050
if self.input_source['type'] == 'function':
51-
path = self.input_source['path']
51+
path = os.path.abspath(self.input_source['path'])
5252
directory = os.path.dirname(path)
5353
filename = os.path.basename(path)
5454

0 commit comments

Comments
 (0)