Skip to content

Commit

Permalink
Development/iptestadministrator (#1740)
Browse files Browse the repository at this point in the history
* [Tests/unit] : Do not depend on 'IPTestAdministrator' if not used

* [Tests/unit/tests] : Cherry pick 'test_iptestmanager' from development/namespaces

* [Tests/unit / Tests/unit/tests] : Improve synchronization usage of 'IPTestAdministrator'

* [core/IPCChannel] : cherry-pick from 'development/ipcchannel_dangling_handlers'

* Tests/unit/core] : align tests with '957977381dfa8137f1475131622390ebed2bdcf7'

* [Tests/unit] : Improve synchronization with premature signalling

* [Tests/unit] : Add test cases to 'Tests/unit/tests/test_iptestmanager.cpp'

* [Tests/unit/core] : align tests with '346fb6ec2a0da5058f7a581190e63c7cb61d929c'

Including various improvements for some test.

* [Tests/unit/core] : amend '7c9a286d1398de9f2b470b02bb58596120f0d8c9'

* [Tests/core/unit] : cherry pick from 'development/messageunit'

* [Tests/unit/core] : Use 'IPTestAdministrator' for 'PopMessageShouldReturnLastPushedMessageInOtherProcess' in test_message_unit'

* [Tests/unit/IPTestAdministrator] : Try to prevent to leak shared memory descriptors

* Revert "[core/IPCChannel] : cherry-pick from 'development/ipcchannel_dangling_handlers'"

This reverts commit 8bc4c8a.

* [Tests/unit/core] : disable 'test_ipc'

* [Tests/unit/core] : Move 'test_message_dispatcher' to the approriate 'CMakeLists' branch

* [Tests/unit/tests] : tag unused variable in 'IPTestsAdministrator'

---------

Co-authored-by: MFransen69 <[email protected]>
  • Loading branch information
msieben and MFransen69 authored Sep 9, 2024
1 parent 377b90f commit 4eda364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/unit/IPTestAdministrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ uint32_t IPTestAdministrator::Signal(uint32_t expectedNextHandshakeValue, uint8_
break;
default : result = ::Thunder::Core::ERROR_NONE;
// Atomically replaces the current value by the expected value
bool oldHandshakeValue = _sharedData->handshakeValue.exchange(expectedNextHandshakeValue);
VARIABLE_IS_NOT_USED bool oldHandshakeValue = _sharedData->handshakeValue.exchange(expectedNextHandshakeValue);
}

return result;
Expand Down

0 comments on commit 4eda364

Please sign in to comment.