mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Make stop_ejabberd test also work without receiving </stream:stream>
This commit is contained in:
parent
1bd560f3f2
commit
a2e6d8bb6b
@ -504,7 +504,14 @@ all() ->
|
||||
stop_ejabberd(Config) ->
|
||||
ok = application:stop(ejabberd),
|
||||
?recv1(#stream_error{reason = 'system-shutdown'}),
|
||||
?recv1({xmlstreamend, <<"stream:stream">>}),
|
||||
case suite:recv(Config) of
|
||||
{xmlstreamend, <<"stream:stream">>} ->
|
||||
ok;
|
||||
closed ->
|
||||
ok;
|
||||
Other ->
|
||||
suite:match_failure([Other], [closed])
|
||||
end,
|
||||
Config.
|
||||
|
||||
test_connect_bad_xml(Config) ->
|
||||
|
Loading…
Reference in New Issue
Block a user