Skip to content

Commit 47585b6

Browse files
committed
print c++ error
1 parent f428e3d commit 47585b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_atomic_cursor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ def test_atomic_cursor_python_cpp_work_stealing_cursor_created_by_py():
499499
stdout, stderr = cpp_consumer_proc.communicate()
500500

501501
print(stdout.decode())
502+
print(stderr.decode())
502503
if cpp_consumer_proc.returncode != 0:
503504
print(stderr, file=sys.stderr)
504505
raise RuntimeError(f"C++ consumer failed with code {cpp_consumer_proc.returncode}")
@@ -585,6 +586,7 @@ def test_atomic_cursor_python_cpp_work_stealing_cursor_created_by_py():
585586
stdout, stderr = cpp_consumer_proc.communicate()
586587

587588
print(stdout.decode())
589+
print(stderr.decode())
588590
if cpp_consumer_proc.returncode != 0:
589591
print(stderr, file=sys.stderr)
590592
raise RuntimeError(f"C++ consumer failed with code {cpp_consumer_proc.returncode}")
@@ -667,6 +669,7 @@ def test_atomic_cursor_python_cpp_work_stealing_cursor_created_by_cpp():
667669
stdout, stderr = cpp_consumer_proc.communicate()
668670

669671
print(stdout.decode())
672+
print(stderr.decode())
670673
if cpp_consumer_proc.returncode != 0:
671674
print(stderr, file=sys.stderr)
672675
raise RuntimeError(f"C++ consumer failed with code {cpp_consumer_proc.returncode}")

0 commit comments

Comments
 (0)