Commit deadc75
fix(tests): set num_threads=1 on Kuzu Connection to avoid asyncio conflicts
The segfault was caused by pytest-asyncio's background event loop thread
conflicting with Kuzu's internal threading. Setting num_threads=1 on
Connection initialization avoids this conflict.
Changes:
- KuzuGraph.__init__: Set num_threads=1 on Connection
- conftest kuzu_db_path fixture: Set num_threads=1
- test_kuzu_queries helper: Set num_threads=1
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 6b76c64 commit deadc75
3 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
| 341 | + | |
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
0 commit comments