This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch feature/pubsub_utils_test_fix in repository https://gitbox.apache.org/repos/asf/celix.git
commit 6d7f2382e11f741a949f8d9091cced7657202a30 Author: Pepijn Noltes <[email protected]> AuthorDate: Wed Jun 10 21:03:28 2020 +0200 Revert "Updates the timestamp print format" This reverts commit 960a9d0f2fc99244de51f14c60978b7d10bef055. --- .../pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/pubsub/pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc b/bundles/pubsub/pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc index 63979d7..0604f51 100644 --- a/bundles/pubsub/pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc +++ b/bundles/pubsub/pubsub_utils/gtest/src/PubSubSerializationProviderTestSuite.cc @@ -34,7 +34,7 @@ public: //Cannot reproduce this on host, so testing if a timestamp improves stability. const auto t = std::chrono::system_clock::now(); char *cache = nullptr; - asprintf(&cache, ".pubsub_serialization_provider_cache-%lli", (long long int)t.time_since_epoch().count()); + asprintf(&cache, ".pubsub_serialization_provider_cache-%li", t.time_since_epoch().count()); celix_properties_set(props, OSGI_FRAMEWORK_FRAMEWORK_STORAGE, cache); free(cache);
