Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1019-ssh-test-Fix-random-errors-in-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1019-ssh-test-Fix-random-errors-in-test.patch of Package erlang
From 9f5b581211fb8b4f55bb0fabd6764b0e95b9a6f4 Mon Sep 17 00:00:00 2001 From: Hans Nilsson <hans@erlang.org> Date: Mon, 1 Aug 2022 14:38:12 +0200 Subject: [PATCH 1/2] ssh/test: Fix random errors in test --- lib/ssh/test/ssh_options_SUITE.erl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/ssh/test/ssh_options_SUITE.erl b/lib/ssh/test/ssh_options_SUITE.erl index c5269eb2be..ed7f391de8 100644 --- a/lib/ssh/test/ssh_options_SUITE.erl +++ b/lib/ssh/test/ssh_options_SUITE.erl @@ -1391,12 +1391,14 @@ max_log_item_len(Config) -> {ok, Reports} = ssh_eqc_event_handler:get_reports(ReportHandlerPid), ct:log("~p:~p ssh:connect -> ~p~n~p", [?MODULE,?LINE,R,Reports]), - [ok,ok] = - [check_skip_part( - string:tokens( - lists:flatten(io_lib:format(Fmt,Args)), - " \n")) - || {info_msg,_,{_,Fmt,Args}} <- Reports]. + [ok] = + lists:usort( + [check_skip_part( + string:tokens( + lists:flatten(io_lib:format(Fmt,Args)), + " \n")) + || {info_msg,_,{_,Fmt,Args}} <- Reports] + ). check_skip_part(["Disconnect","...","("++_NumSkipped, "bytes","skipped)"]) -> -- 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