mirror of
https://github.com/oxen-io/oxen-mq.git
synced 2023-12-13 21:00:31 +01:00
Add test that destruction doesn't throw
This commit is contained in:
parent
ee080e0550
commit
d2f852c217
|
@ -25,6 +25,11 @@ TEST_CASE("tagged thread start functions", "[tagged][start]") {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_CASE("tagged threads quit-before-start", "[tagged][quit]") {
|
||||||
|
auto lmq = std::make_unique<lokimq::LokiMQ>(get_logger(""), LogLevel::trace);
|
||||||
|
auto t_abc = lmq->add_tagged_thread("abc");
|
||||||
|
REQUIRE_NOTHROW(lmq.reset());
|
||||||
|
}
|
||||||
|
|
||||||
TEST_CASE("batch jobs to tagged threads", "[tagged][batch]") {
|
TEST_CASE("batch jobs to tagged threads", "[tagged][batch]") {
|
||||||
lokimq::LokiMQ lmq{get_logger(""), LogLevel::trace};
|
lokimq::LokiMQ lmq{get_logger(""), LogLevel::trace};
|
||||||
|
|
Loading…
Reference in a new issue