Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
erlang
2661-megaco-test-Fixed-timer-start-and-stop-tes...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2661-megaco-test-Fixed-timer-start-and-stop-test-case.patch of Package erlang
From 52eea8c9ede181cadb248321182b37f75f10c66d Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Thu, 25 Jul 2019 19:08:14 +0200 Subject: [PATCH] [megaco|test] Fixed timer 'start and stop' test case When cancel'ing a timer, the ok return is either: ok or {ok, Remaining} The test case did not handle this (expected 'ok'). --- lib/megaco/test/megaco_timer_test.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/megaco/test/megaco_timer_test.erl b/lib/megaco/test/megaco_timer_test.erl index d3e8e27636..5604a11e73 100644 --- a/lib/megaco/test/megaco_timer_test.erl +++ b/lib/megaco/test/megaco_timer_test.erl @@ -362,6 +362,8 @@ integer_timer_start_and_stop(Config) when is_list(Config) -> case tmr_stop(Ref) of ok -> ok; + {ok, _} -> + ok; CancelRes -> ?SKIP({cancel_failed, CancelRes}) end -- 2.16.4
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