aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2016-06-11 20:31:39 +0200
committerAnders Svensson <[email protected]>2016-06-11 20:46:09 +0200
commit010925dd108b560ed86d9e0d8f48beefd677728e (patch)
tree85439a9b93abc31af5f08100804a29fad13de256 /lib/diameter
parent1e153ca0258c7f14d65c41873b2c2034dc607181 (diff)
downloadotp-010925dd108b560ed86d9e0d8f48beefd677728e.tar.gz
otp-010925dd108b560ed86d9e0d8f48beefd677728e.tar.bz2
otp-010925dd108b560ed86d9e0d8f48beefd677728e.zip
Fix testsuite match blunder
That missed comm_up when something like the following was received on FreeBSD (for one): {sctp,#Port<0.599>, {127,0,0,1}, 45455, {[{sctp_sndrcvinfo,0,0,[],0,0,0,0,145060462,3}], {sctp_assoc_change,comm_up,0,10,10,3}}}
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/test/diameter_gen_sctp_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/test/diameter_gen_sctp_SUITE.erl b/lib/diameter/test/diameter_gen_sctp_SUITE.erl
index cbd7fc8ec5..79db39ca45 100644
--- a/lib/diameter/test/diameter_gen_sctp_SUITE.erl
+++ b/lib/diameter/test/diameter_gen_sctp_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2015. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2016. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -365,8 +365,8 @@ open(Opts) ->
assoc(Sock) ->
receive
- ?SCTP(Sock, {[], #sctp_assoc_change{state = S,
- assoc_id = Id}}) ->
+ ?SCTP(Sock, {_, #sctp_assoc_change{state = S,
+ assoc_id = Id}}) ->
comm_up = S, %% assert
Id
end.