| 75 | } // namespace |
| 76 | |
| 77 | DEBUG_ONLY_TEST_F(ThreadDebugInfoDeathTest, withinSeperateDriverThread) { |
| 78 | auto vector = makeRowVector({makeFlatVector<int64_t>({1, 2, 3, 4, 5, 6})}); |
| 79 | registerFunction<InduceSegFaultFunction, int64_t, int64_t>({"segFault"}); |
| 80 | auto op = PlanBuilder().values({vector}).project({"segFault(c0)"}).planNode(); |
| 81 | #ifndef IS_BUILDING_WITH_ASAN |
| 82 | ASSERT_DEATH( |
| 83 | (assertQuery(op, vector)), |
| 84 | ".*Fatal signal handler. Query Id= TaskCursorQuery_0 Task Id= test_cursor 1.*"); |
| 85 | #endif |
| 86 | } |
| 87 | |
| 88 | DEBUG_ONLY_TEST_F(ThreadDebugInfoDeathTest, withinQueryCompilation) { |
| 89 | auto vector = makeRowVector({makeFlatVector<int64_t>({1, 2, 3, 4, 5, 6})}); |
nothing calls this directly
no test coverage detected