Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
common --registry=https://bcr.bazel.build
common --http_connector_attempts=10
common --http_connector_retry_max_timeout=1s
common --http_timeout_scaling=2.0

build --java_language_version=17
build --tool_java_language_version=17
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/build_qnx8.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ using namespace score::lcm::internal;
namespace
{

#ifdef __QNX__
// stress tests on qemu qnx take to long otherwise
constexpr int kNumThreads = 2;
constexpr int kIterations = 512;
constexpr int kPidsPerThread = 128;
#else
constexpr int kNumThreads = 4;
constexpr int kIterations = 1000;
constexpr int kPidsPerThread = 256;
#endif

constexpr uint32_t kCapacity = static_cast<uint32_t>(ProcessLimits::kMaxProcesses);

class MockTerminationCallback : public ITerminationCallback
Expand Down Expand Up @@ -357,10 +368,6 @@ TEST_F(SafeProcessMapTest, ConcurrentInsertAndFindFromMultipleThreads)
RecordProperty("Description",
"Multiple threads concurrently inserting and finding terminated processes completes without error.");

// given
constexpr int kNumThreads = 4;
constexpr int kIterations = 1000;
constexpr int kPidsPerThread = 256;
NiceMock<MockTerminationCallback> stubs[kNumThreads];
score::lcm::internal::SafeProcessMap::SafeProcessMapReturnType results[kNumThreads] = {};

Expand Down Expand Up @@ -402,10 +409,6 @@ TEST_F(SafeProcessMapTest, ConcurrentFindAndInsertFromMultipleThreads)
RecordProperty("Description",
"Multiple threads concurrently finding and inserting processes completes without error.");

// given
constexpr int kNumThreads = 4;
constexpr int kIterations = 1000;
constexpr int kPidsPerThread = 256;
NiceMock<MockTerminationCallback> stubs[kNumThreads];
score::lcm::internal::SafeProcessMap::SafeProcessMapReturnType results[kNumThreads] = {};

Expand Down
Loading