forked from Kistler-Group/sdbus-cpp
fix: integration tests in release mode
This commit is contained in:
committed by
Stanislav Angelovič
parent
7a09e9bcc8
commit
8bbeeeb4ce
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -65,7 +65,7 @@ jobs:
|
||||
run: |
|
||||
cd build
|
||||
sudo cmake --build . --target install
|
||||
ctest
|
||||
ctest --output-on-failure
|
||||
- name: pack
|
||||
if: matrix.build == 'shared-libsystemd' && matrix.os == 'ubuntu-20.04'
|
||||
run: |
|
||||
|
@ -116,7 +116,8 @@ TEST_F(AConnection, CanAddFloatingMatchRule)
|
||||
};
|
||||
con->addMatch(matchRule, std::move(callback), sdbus::floating_slot);
|
||||
m_adaptor->emitSimpleSignal();
|
||||
assert(waitUntil(matchingMessageReceived, 2s));
|
||||
[[maybe_unused]] auto gotMessage = waitUntil(matchingMessageReceived, 2s);
|
||||
assert(gotMessage);
|
||||
matchingMessageReceived = false;
|
||||
|
||||
con.reset();
|
||||
|
Reference in New Issue
Block a user