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 |
NesWorkerPtr | createWorker (const string &defaultLogicalSourceName, const std::string &physicalSourceName, const uint64_t coordinatorRPCPort, WorkerId workerId) |
![]() | |
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 | |
RequestHandlerServicePtr | requestHandlerService |
Statistic::StatisticProbeHandlerPtr | probeHandler |
std::vector< NesWorkerPtr > | allWorkers |
NesCoordinatorPtr | nesCoordinator |
SchemaPtr | testInputSchema |
const std::string | logicalSourceName = "defaultLogicalSourceName" |
const std::string | basePhysicalSourceName = "basePhysicalSourceName" |
std::vector< std::string > | physicalSourceNames |
uint64_t | numberOfWorkers |
uint64_t | numberOfBuffersToProduce |
uint64_t | windowSize |
Statistic::MetricPtr | metric |
![]() | |
detail::TestSourceNameHelper | srcName |
Static Public Attributes | |
static constexpr auto | timeout = std::chrono::seconds(10) |
static constexpr auto | fieldNameToTrack = "id" |
static constexpr auto | timestampFieldName = "timestamp" |
static constexpr auto | gatheringValue = 0 |
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} |
|
inline |
blocking
withConnect
References backward::details::move(), NES_DEBUG, NES::TestUtils::numberOfBuffersToProduce(), NES::TestUtils::physicalSourceName(), NES::Runtime::TupleBuffer::setNumberOfTuples(), and worker.
|
inlineoverride |
blocking
References NES_INFO, and NES::TestUtils::numberOfBuffersToProduce().
|
inlinestatic |
References NES::LOG_DEBUG, NES_INFO, and NES::Logger::setupLogging().
std::vector<NesWorkerPtr> NES::StatisticsIntegrationTest::allWorkers |
const std::string NES::StatisticsIntegrationTest::basePhysicalSourceName = "basePhysicalSourceName" |
|
staticconstexpr |
|
staticconstexpr |
const std::string NES::StatisticsIntegrationTest::logicalSourceName = "defaultLogicalSourceName" |
Statistic::MetricPtr NES::StatisticsIntegrationTest::metric |
NesCoordinatorPtr NES::StatisticsIntegrationTest::nesCoordinator |
uint64_t NES::StatisticsIntegrationTest::numberOfBuffersToProduce |
uint64_t NES::StatisticsIntegrationTest::numberOfWorkers |
std::vector<std::string> NES::StatisticsIntegrationTest::physicalSourceNames |
Statistic::StatisticProbeHandlerPtr NES::StatisticsIntegrationTest::probeHandler |
RequestHandlerServicePtr NES::StatisticsIntegrationTest::requestHandlerService |
SchemaPtr NES::StatisticsIntegrationTest::testInputSchema |
|
staticconstexpr |
|
staticconstexpr |
uint64_t NES::StatisticsIntegrationTest::windowSize |