Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1469-erts-Fix-stopping-long_timers_test-of-othe...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1469-erts-Fix-stopping-long_timers_test-of-other-versions.patch of Package erlang
From de2e817ba7a531bd894b8ddb407dc9dd57b46515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org> Date: Wed, 7 Feb 2024 17:58:11 +0100 Subject: [PATCH 1/2] erts: Fix stopping 'long_timers_test' of other versions If the long timers test lingers in the background during tests, and can even persist after tests have been aborted. To deal with this, the test tries to stop previous nodes, but does so with a local fun which fails if the OTP version has changed in the meantime, for example if rebasing something to an earlier version. To fix this, we'll use an external fun instead so that we'll be capable of stopping nodes of any version from here on. --- erts/emulator/test/long_timers_test.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/emulator/test/long_timers_test.erl b/erts/emulator/test/long_timers_test.erl index de1a6e6d32..899818fe2a 100644 --- a/erts/emulator/test/long_timers_test.erl +++ b/erts/emulator/test/long_timers_test.erl @@ -462,7 +462,7 @@ start_node(Name) -> stop_node(Node) -> monitor_node(Node, true), - spawn(Node, fun () -> halt() end), + spawn(Node, fun erlang:halt/0), receive {nodedown, Node} -> ok end. load_driver(Dir, Driver) -> -- 2.35.3
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