mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
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:
parent
52dcf910b6
commit
c844a10dd4
2 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue