diff --git a/.bazelrc b/.bazelrc index 7cb2fb68..0c8ff7f8 100644 --- a/.bazelrc +++ b/.bazelrc @@ -24,8 +24,6 @@ build --tool_java_runtime_version=remotejdk_17 # Only contact license server every 59 secs per tool and not for every tool invocation to avoid flooding the license server common --action_env=QNX_LICENSE_EXTSERVER_DELAY=59 -#common --action_env=QNX_LICENSE_QUEUE_TIMEOUT=300 # If not reach retry in 60seconds for overall 300 (configured) seconds -# Disable for the moment as this leads to "warning: Cannot find Build server key, the value of QNX_LICENSE_QUEUE_TIMEOUT will be ignored." test --test_output=errors @@ -82,6 +80,7 @@ build:x86_64-qnx --extra_toolchains=@score_qnx_x86_64_ifs_toolchain//:ifs-x86_64 build:x86_64-qnx --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_pc_nto_qnx800 test:x86_64-qnx --run_under=@score_qnx_unit_tests//src:run_under_qnx test:x86_64-qnx --test_lang_filters=cc,rust +test:aarch64-qnx --test_timeout=180,900,2700,10800 # Increase default test timeout by factor 3 # ------------------------------------------------------------------------------- # Config dedicated to target platform CPU:aarch64 and OS:QNX diff --git a/.github/workflows/test_qnx.yml b/.github/workflows/test_qnx.yml index c01b7139..207c6d40 100644 --- a/.github/workflows/test_qnx.yml +++ b/.github/workflows/test_qnx.yml @@ -31,6 +31,7 @@ jobs: - bazel-config: x86_64-qnx bazel-test-target: >- //score/... //tests/... + extra-bazel-test-flags: "--test_timeout=180,900,2700,10800" # Increase default test timeout by factor 3 - bazel-config: aarch64-qnx bazel-test-target: >- //score/... //tests/... diff --git a/tests/grpc_control_plane/BUILD b/tests/grpc_control_plane/BUILD index 203111f3..6e9bd38c 100644 --- a/tests/grpc_control_plane/BUILD +++ b/tests/grpc_control_plane/BUILD @@ -11,12 +11,11 @@ # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* -load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_test") -load("@score_itf//:defs.bzl", "py_itf_test") +load("@rules_cc//cc:defs.bzl", "cc_test") cc_test( name = "test_control_plane", - timeout = "short", + timeout = "moderate", # required for QNX aarch64 (qemu emulation) srcs = ["test_control_plane.cpp"], deps = [ "//score/crypto/api:operations",