We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bce8a2 commit e3f3231Copy full SHA for e3f3231
tests/test_atomic_cursor.py
@@ -559,8 +559,11 @@ def test_atomic_cursor_python_cpp_work_stealing_cursor_created_by_cpp():
559
560
actual_queue_name = q.get_shm_name()
561
562
- from slick_queue_py.atomic_ops import validate_shm_name
563
- actual_cursor_name = validate_shm_name(cursor_name) # Created by C++ process
+ # Get actual cursor name for C++ (with / prefix on POSIX)
+ if sys.platform != 'win32':
564
+ actual_cursor_name = '/' + cursor_name if not cursor_name.startswith('/') else cursor_name
565
+ else:
566
+ actual_cursor_name = cursor_name
567
568
# Start C++ consumer process
569
cpp_consumer = find_cpp_executable("cpp_work_stealing_consumer")
0 commit comments