tests/comms: Disable tests which bind TCP sockets on CI runs

Those tests timeout on Cirrus. Disable them for now.
This introduces a new tag [notCI] with which tests can be marked which shouldn't be run during CI.
This commit is contained in:
Peter Keresztes Schmidt 2021-04-11 01:42:20 +02:00
parent 0ab6b04fa1
commit 369fb68bb4
2 changed files with 4 additions and 4 deletions

View File

@ -18,5 +18,5 @@ task:
- make install
test_script:
- cd build
- CTEST_OUTPUT_ON_FAILURE=1 make test
- cd build/tests
- ./tests "~[notCI]"

View File

@ -260,7 +260,7 @@ TEST_CASE("ZM::TcpInetClient basics") {
REQUIRE(client.isDisconnected() == false);
}
TEST_CASE("ZM::TcpInetServer basics") {
TEST_CASE("ZM::TcpInetServer basics", "[notCI]") {
ZM::TcpInetServer server;
REQUIRE(server.isClosed() == true);
REQUIRE(server.isOpen() == false);
@ -286,7 +286,7 @@ TEST_CASE("ZM::TcpInetServer basics") {
}
}
TEST_CASE("ZM::TcpInetClient/Server send/recv") {
TEST_CASE("ZM::TcpInetClient/Server send/recv", "[notCI]") {
ZM::TcpInetServer server;
ZM::TcpInetClient client;