This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/refactor_bundle_cache
in repository https://gitbox.apache.org/repos/asf/celix.git
from 7f858a76 Add small sleep to ensure time diff can be measured in bundle
archive tests
add 60a0ddf2 Add basic error injector mechanism.
add bfed7033 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/celix into feature/error_injector
add 94bab53f Fix memory over-read and leak in PSA#465
add 3470ad33 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/celix into feature/error_injector
add 70918d78 Fix new gcc warning after upgrading CI.
add d202f300 Fix compilation error introduced by previous commit.
add 2fefa7c9 Disable unsupported compiler option for macOS.
add 05c0877b Disable unsupported compiler option for macOS.
add 767e3f45 Use more portable way to specify linker options.
add 79541b1c Separate error injection tests from common tests and turn
them off on macOS.
add 1a523f11 Fix compilation errors for build-brew and build-apt.
add 415c1316 Use macos-latest for CI.
add dc92a666 Revert "Use macos-latest for CI." to optimize conan build
time.
add d672cdda Merge branch 'master' into feature/error_injector
add e7c89dca Project structure adjustments in compliance with existing
convention.
add f9b8fee5 Add documentation for error injector.
add 8935aeca Minor documentation improvement.
add a0033bae Merge pull request #473 from apache/feature/error_injector
add 325a20ce Merge branch 'master' into feature/refactor_bundle_cache
add 3d8785ab Add initial setup for bundle archive test with error injection
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 11 +-
.../src/pubsub_zmq_topic_receiver.c | 5 +
.../pubsub_admin_zmq/src/pubsub_zmq_topic_sender.c | 2 +-
.../pubsub_protocol_lib/gtest/CMakeLists.txt | 16 +-
.../gtest/src/PS_WP_common_ei_tests.cc | 233 +++++++++++++++++++++
.../gtest/src/PS_WP_common_tests.cc | 194 +++++++++--------
.../src/pubsub_wire_protocol_common.c | 67 ++++--
.../gtest/src/PS_WP_tests.cc | 6 +-
.../src/pubsub_wire_protocol_impl.c | 11 +-
cmake/AddGTest.cmake | 8 +-
libs/CMakeLists.txt | 6 +
.../logging => libs/error_injector}/CMakeLists.txt | 24 +--
libs/error_injector/README.md | 88 ++++++++
libs/error_injector/api/celix_error_injector.h | 89 ++++++++
.../celix_properties}/CMakeLists.txt | 17 +-
.../celix_properties/include/celix_properties_ei.h | 23 +-
.../celix_properties/src/celix_properties_ei.cc | 18 +-
.../error_injector/malloc}/CMakeLists.txt | 17 +-
.../error_injector/malloc/include/malloc_ei.h | 24 ++-
.../error_injector/malloc/src/malloc_ei.cc | 32 ++-
libs/framework/gtest/CMakeLists.txt | 20 ++
libs/framework/gtest/src/BundleArchiveTestSuite.cc | 6 +-
.../BundleArchiveWithErrorInjectionTestSuite.cc | 64 ++++++
libs/framework/src/bundle_archive.c | 15 +-
libs/framework/src/bundle_archive_private.h | 8 +
libs/framework/src/bundle_private.h | 34 +--
26 files changed, 804 insertions(+), 234 deletions(-)
create mode 100644
bundles/pubsub/pubsub_protocol/pubsub_protocol_lib/gtest/src/PS_WP_common_ei_tests.cc
copy {bundles/logging => libs/error_injector}/CMakeLists.txt (61%)
create mode 100644 libs/error_injector/README.md
create mode 100644 libs/error_injector/api/celix_error_injector.h
copy {bundles/http_admin =>
libs/error_injector/celix_properties}/CMakeLists.txt (65%)
copy examples/conan_test_package/test_etcd_lib.c =>
libs/error_injector/celix_properties/include/celix_properties_ei.h (71%)
copy examples/conan_test_package/test_etcd_lib.c =>
libs/error_injector/celix_properties/src/celix_properties_ei.cc (71%)
copy {bundles/http_admin => libs/error_injector/malloc}/CMakeLists.txt (66%)
copy examples/conan_test_package/test_etcd_lib.c =>
libs/error_injector/malloc/include/malloc_ei.h (71%)
copy examples/conan_test_package/test_etcd_lib.c =>
libs/error_injector/malloc/src/malloc_ei.cc (56%)
create mode 100644
libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc