MCPcopy Create free account
hub / github.com/bytedance/bolt / DEBUG_ONLY_TEST_F

Function DEBUG_ONLY_TEST_F

bolt/exec/tests/ThreadDebugInfoTest.cpp:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75} // namespace
76
77DEBUG_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
88DEBUG_ONLY_TEST_F(ThreadDebugInfoDeathTest, withinQueryCompilation) {
89 auto vector = makeRowVector({makeFlatVector<int64_t>({1, 2, 3, 4, 5, 6})});

Callers

nothing calls this directly

Calls 9

PlanBuilderClass · 0.85
assertQueryFunction · 0.85
projectMethod · 0.80
planFragmentMethod · 0.80
createFunction · 0.50
QueryConfigClass · 0.50
valuesMethod · 0.45
getMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected