NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Public Member Functions | |
void | SetUp () override |
void | TearDown () override |
void | recyclePooledBuffer (Runtime::detail::MemorySegment *) override |
Interface method for pooled buffer recycling. More... | |
void | recycleUnpooledBuffer (Runtime::detail::MemorySegment *) override |
Interface method for unpooled buffer recycling. More... | |
template<typename ResultRecord > | |
std::vector< ResultRecord > & | runQuery (const std::vector< std::pair< SchemaPtr, std::string >> &inputs, const uint64_t expectedNumberOfTuples, const std::shared_ptr< CollectTestSink< ResultRecord >> &testSink, const Query &query) |
![]() | |
BaseIntegrationTest () | |
the base test class ctor that creates the internal test resources More... | |
~BaseIntegrationTest () override | |
void | SetUp () override |
Fetches the port. More... | |
void | TearDown () override |
Release internal ports. More... | |
void | onFatalError (int signalNumber, std::string callstack) override |
onFatalError shall be called when a signal is caught More... | |
void | onFatalException (std::shared_ptr< std::exception > exception, std::string callstack) override |
onFatalException shall be called when an exception is caught More... | |
![]() | |
void | SetUp () override |
void | TearDown () override |
![]() | |
~virtual_enable_shared_from_this () NES_NOEXCEPT(true) override=default | |
std::shared_ptr< T1 > | shared_from_this () |
std::weak_ptr< T1 > | weak_from_this () |
![]() | |
virtual | ~virtual_enable_shared_from_this_base () NES_NOEXCEPT(isNoexceptDestructible)=default |
![]() | |
TestWaitingHelper () | |
void | startWaitingThread (std::string testName) |
void | completeTest () |
void | failTest () |
Static Public Member Functions | |
static void | SetUpTestCase () |
Public Attributes | |
const uint64_t | numTuplesPerBuffer = 1 |
std::shared_ptr< Testing::TestExecutionEngine > | executionEngine |
![]() | |
detail::TestSourceNameHelper | srcName |
Static Public Attributes | |
static constexpr auto | dumpNone = QueryCompilation::DumpMode::NONE |
static constexpr DecomposedQueryId | defaultDecomposedQueryPlanId = INVALID_DECOMPOSED_QUERY_PLAN_ID |
static constexpr SharedQueryId | defaultSharedQueryId = INVALID_SHARED_QUERY_ID |
Additional Inherited Members | |
![]() | |
BorrowedPortPtr | getAvailablePort () |
Retrieve another free port. More... | |
std::filesystem::path | getTestResourceFolder () const |
returns the test resource folder to write files More... | |
![]() | |
BorrowedPortPtr | rpcCoordinatorPort {nullptr} |
BorrowedPortPtr | restPort {nullptr} |
|
inlineoverridevirtual |
Interface method for pooled buffer recycling.
buffer | the buffer to recycle |
Implements NES::Runtime::BufferRecycler.
|
inlineoverridevirtual |
Interface method for unpooled buffer recycling.
buffer | the buffer to recycle |
Implements NES::Runtime::BufferRecycler.
|
inline |
References NES::TestUtils::createExpectedBuffersFromCsv(), defaultDecomposedQueryPlanId, defaultSharedQueryId, executionEngine, NES::Query::getQueryPlan(), NES::Runtime::Graceful, NES_INFO, and numTuplesPerBuffer.
|
inlineoverride |
References dumpNone, and executionEngine.
|
inlinestatic |
References NES::LOG_DEBUG, NES_INFO, and NES::Logger::setupLogging().
|
inlineoverride |
References executionEngine, NES_INFO, and NES::Testing::BaseIntegrationTest::TearDown().
|
staticconstexpr |
Referenced by runQuery().
|
staticconstexpr |
Referenced by runQuery().
|
staticconstexpr |
Referenced by SetUp().
std::shared_ptr<Testing::TestExecutionEngine> NES::MultiThreadedTest::executionEngine |
Referenced by runQuery(), SetUp(), and TearDown().
const uint64_t NES::MultiThreadedTest::numTuplesPerBuffer = 1 |
Referenced by runQuery().