Add network label to http tests

Mostly unrelated change to add the network label to test suites
already touched by other changes in this PR. The label is already
used for the perfdata writer tests to make it easy to exclude tests
that need a network connection when building and testing in a sandbox.
This commit is contained in:
Johannes Schmidt 2026-03-26 09:56:05 +01:00
parent 52dcf910b6
commit c844a10dd4
2 changed files with 2 additions and 4 deletions

View file

@ -31,11 +31,10 @@ static std::future<void> SpawnSynchronizedCoroutine(std::function<void(boost::as
return future;
}
// clang-format off
BOOST_FIXTURE_TEST_SUITE(remote_httpmessage, TlsStreamFixture,
*CTestProperties("FIXTURES_REQUIRED ssl_certs")
*boost::unit_test::label("network")
*boost::unit_test::label("http"))
// clang-format on
BOOST_AUTO_TEST_CASE(request_parse)
{

View file

@ -96,11 +96,10 @@ private:
REGISTER_URLHANDLER("/v1/test", UnitTestHandler);
// clang-format off
BOOST_FIXTURE_TEST_SUITE(remote_httpserverconnection, HttpServerConnectionFixture,
*CTestProperties("FIXTURES_REQUIRED ssl_certs")
*boost::unit_test::label("network")
*boost::unit_test::label("http"))
// clang-format on
BOOST_AUTO_TEST_CASE(expect_100_continue)
{