mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
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:
@@ -18,5 +18,5 @@ task:
|
||||
- make install
|
||||
|
||||
test_script:
|
||||
- cd build
|
||||
- CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
- cd build/tests
|
||||
- ./tests "~[notCI]"
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user