Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0920-erts-Skip-sched-thread-tests-if-only-one-s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0920-erts-Skip-sched-thread-tests-if-only-one-scheduler-i.patch of Package erlang
From ae93e78865281f4921de6c30500805778f94751b Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Fri, 18 Feb 2022 10:41:12 +0100 Subject: [PATCH 3/4] erts: Skip sched thread tests if only one scheduler is online --- erts/emulator/test/scheduler_SUITE.erl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/erts/emulator/test/scheduler_SUITE.erl b/erts/emulator/test/scheduler_SUITE.erl index 1d21a4435e..8598a7e305 100644 --- a/erts/emulator/test/scheduler_SUITE.erl +++ b/erts/emulator/test/scheduler_SUITE.erl @@ -104,6 +104,12 @@ init_per_testcase(update_cpu_info, Config) -> _ -> init_per_tc(update_cpu_info, Config) end; +init_per_testcase(ThreadCase, Config) when ThreadCase =:= poll_threads; + ThreadCase =:= scheduler_threads -> + case erlang:system_info(schedulers_online) of + 1 -> {skip,"Needs more than one scheduler online"}; + _ -> init_per_tc(ThreadCase, Config) + end; init_per_testcase(Case, Config) when is_list(Config) -> init_per_tc(Case, Config). -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor