=== Test case: muc_SUITE:history_since/1 (click for source code)
=== Config value:
[{watchdog,<0.32708.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.muc_SUITE.logs/run.2022-05-25_10.45.15/muc_suite.history_since.78468.html"},
{tc_group_properties,[{name,occupant},{repeat_until_all_ok,3},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.muc_SUITE.logs/run.2022-05-25_10.45.15/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_commands => #{},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_muc_commands => #{},mod_muc_light_commands => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44"
=== Started at 2022-05-25 10:45:30
*** User 2022-05-25 10:45:30.870 ***
alicE_history_since_1962@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:45:30.870 ***
alicE_history_since_1962@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43aedca62b9a683e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:45:30.871 ***
alicE_history_since_1962@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 10:45:30.871 ***
alicE_history_since_1962@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2hpc3Rvcnlfc2luY2VfMTk2MgBtYXR5Z3J5c2E=</auth>
*** User 2022-05-25 10:45:30.873 ***
alicE_history_since_1962@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:45:30.873 ***
alicE_history_since_1962@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:45:30.873 ***
alicE_history_since_1962@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83f1c483a56b7059' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:45:30.873 ***
alicE_history_since_1962@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 10:45:30.873 ***
alicE_history_since_1962@localhost/res1 out
<iq type='set' id='dfd444d07eee25b84a82b93b196676ec'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:45:30.874 ***
alicE_history_since_1962@localhost/res1 in
<iq id='dfd444d07eee25b84a82b93b196676ec' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_history_since_1962@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:45:30.874 ***
alice_history_since_1962@localhost/res1 out
<iq type='set' id='bc3c8ed15874ededf2931b639c04f1bf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:45:30.875 ***
alice_history_since_1962@localhost/res1 in
<iq type='result' id='bc3c8ed15874ededf2931b639c04f1bf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:45:30.875 ***
alice_history_since_1962@localhost/res1 out
<presence/>
*** User 2022-05-25 10:45:30.878 ***
alice_history_since_1962@localhost/res1 in
<presence from='alice_history_since_1962@localhost/res1' to='alice_history_since_1962@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:45:30.883 ***
bOb_history_since_1962@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:45:30.883 ***
bOb_history_since_1962@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18a707c29be848cd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:45:30.884 ***
bOb_history_since_1962@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 10:45:30.884 ***
bOb_history_since_1962@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9oaXN0b3J5X3NpbmNlXzE5NjIAbWFrcm9saWth</auth>
*** User 2022-05-25 10:45:30.938 ***
bOb_history_since_1962@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:45:30.938 ***
bOb_history_since_1962@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:45:30.939 ***
bOb_history_since_1962@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='758ad33b7f0e3b23' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:45:30.939 ***
bOb_history_since_1962@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 10:45:30.939 ***
bOb_history_since_1962@localhost/res1 out
<iq type='set' id='b68c26354a11ec27ea276efc6580f1bb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:45:30.940 ***
bOb_history_since_1962@localhost/res1 in
<iq id='b68c26354a11ec27ea276efc6580f1bb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_history_since_1962@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:45:30.940 ***
bob_history_since_1962@localhost/res1 out
<iq type='set' id='40dc1ee9685fd311f78d3692530b0dda'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:45:30.941 ***
bob_history_since_1962@localhost/res1 in
<iq type='result' id='40dc1ee9685fd311f78d3692530b0dda'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:45:30.941 ***
bob_history_since_1962@localhost/res1 out
<presence/>
*** User 2022-05-25 10:45:30.944 ***
bob_history_since_1962@localhost/res1 in
<presence from='bob_history_since_1962@localhost/res1' to='bob_history_since_1962@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:45:30.945 ***
kate_history_since_1962@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:45:30.948 ***
kate_history_since_1962@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb5930b9f6ca361a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:45:30.948 ***
kate_history_since_1962@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 10:45:30.948 ***
kate_history_since_1962@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaGlzdG9yeV9zaW5jZV8xOTYyAG1ha3Jvd2U7cA==</auth>
*** User 2022-05-25 10:45:30.951 ***
kate_history_since_1962@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-05-25 10:45:30.951 ***
kate_history_since_1962@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-05-25 10:45:30.952 ***
kate_history_since_1962@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed2cc387c8c5a115' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-05-25 10:45:30.952 ***
kate_history_since_1962@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-05-25 10:45:30.953 ***
kate_history_since_1962@localhost/res1 out
<iq type='set' id='c60df7e8b164cbff0b7b95818ebd4538'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-05-25 10:45:30.953 ***
kate_history_since_1962@localhost/res1 in
<iq id='c60df7e8b164cbff0b7b95818ebd4538' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_history_since_1962@localhost/res1</jid>
</bind>
</iq>
*** User 2022-05-25 10:45:30.953 ***
kate_history_since_1962@localhost/res1 out
<iq type='set' id='6ba30cfbb3548f89c2e7c5ee401978f0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:45:30.954 ***
kate_history_since_1962@localhost/res1 in
<iq type='result' id='6ba30cfbb3548f89c2e7c5ee401978f0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-05-25 10:45:30.955 ***
kate_history_since_1962@localhost/res1 out
<presence/>
*** User 2022-05-25 10:45:30.957 ***
kate_history_since_1962@localhost/res1 in
<presence from='kate_history_since_1962@localhost/res1' to='kate_history_since_1962@localhost/res1' xml:lang='en'/>
*** User 2022-05-25 10:45:30.958 ***
alice_history_since_1962@localhost/res1 out
<presence to='room-alice_history_since_1962@muc.localhost/alice_history_since_1962'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-05-25 10:45:30.959 ***
alice_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/alice_history_since_1962' to='alice_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alice_history_since_1962@localhost/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.960 ***
alice_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost' to='alice_history_since_1962@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-05-25 10:45:30.960 ***
bob_history_since_1962@localhost/res1 out
<presence to='room-alice_history_since_1962@muc.localhost/bob_history_since_1962'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-05-25 10:45:30.962 ***
alice_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/bob_history_since_1962' to='alice_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='bob_history_since_1962@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.962 ***
bob_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/alice_history_since_1962' to='bob_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='owner' role='moderator'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.962 ***
bob_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/bob_history_since_1962' to='bob_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.962 ***
bob_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost' to='bob_history_since_1962@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-05-25 10:45:30.962 ***
alice_history_since_1962@localhost/res1 out
<message to='room-alice_history_since_1962@muc.localhost' type='groupchat'>
<body>Hi, Bob!</body>
</message>
*** User 2022-05-25 10:45:30.965 ***
alice_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost/alice_history_since_1962' to='alice_history_since_1962@localhost/res1' xml:lang='en' type='groupchat'>
<body>Hi, Bob!</body>
</message>
*** User 2022-05-25 10:45:30.965 ***
bob_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost/alice_history_since_1962' to='bob_history_since_1962@localhost/res1' xml:lang='en' type='groupchat'>
<body>Hi, Bob!</body>
</message>
*** User 2022-05-25 10:45:30.965 ***
bob_history_since_1962@localhost/res1 out
<message to='room-alice_history_since_1962@muc.localhost' type='groupchat'>
<body>Hi, Alice!</body>
</message>
*** User 2022-05-25 10:45:30.966 ***
alice_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost/bob_history_since_1962' to='alice_history_since_1962@localhost/res1' xml:lang='en' type='groupchat'>
<body>Hi, Alice!</body>
</message>
*** User 2022-05-25 10:45:30.966 ***
bob_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost/bob_history_since_1962' to='bob_history_since_1962@localhost/res1' xml:lang='en' type='groupchat'>
<body>Hi, Alice!</body>
</message>
*** User 2022-05-25 10:45:30.966 ***
kate_history_since_1962@localhost/res1 out
<presence to='room-alice_history_since_1962@muc.localhost/kate_history_since_1962'>
<x xmlns='http://jabber.org/protocol/muc'>
<history since='1970-01-01T00:00:00Z'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.969 ***
alice_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/kate_history_since_1962' to='alice_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_history_since_1962@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.969 ***
bob_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/kate_history_since_1962' to='bob_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.969 ***
kate_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/alice_history_since_1962' to='kate_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='owner' role='moderator'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.969 ***
kate_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/bob_history_since_1962' to='kate_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.969 ***
kate_history_since_1962@localhost/res1 in
<presence from='room-alice_history_since_1962@muc.localhost/kate_history_since_1962' to='kate_history_since_1962@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-05-25 10:45:30.970 ***
kate_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost/alice_history_since_1962' to='kate_history_since_1962@localhost/res1' xml:lang='en' type='groupchat'>
<body>Hi, Bob!</body>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:45:30Z' from='room-alice_history_since_1962@muc.localhost'/>
</message>
*** User 2022-05-25 10:45:30.970 ***
kate_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost/bob_history_since_1962' to='kate_history_since_1962@localhost/res1' xml:lang='en' type='groupchat'>
<body>Hi, Alice!</body>
<delay xmlns='urn:xmpp:delay' stamp='2022-05-25T10:45:30Z' from='room-alice_history_since_1962@muc.localhost'/>
</message>
*** User 2022-05-25 10:45:30.970 ***
kate_history_since_1962@localhost/res1 in
<message from='room-alice_history_since_1962@muc.localhost' to='kate_history_since_1962@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-05-25 10:45:30.970 ***
kate_history_since_1962@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:45:30.971 ***
kate_history_since_1962@localhost/res1 in
</stream:stream>
*** User 2022-05-25 10:45:30.971 ***
bob_history_since_1962@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:45:30.971 ***
bob_history_since_1962@localhost/res1 in
</stream:stream>
*** User 2022-05-25 10:45:30.972 ***
alice_history_since_1962@localhost/res1 out
</stream:stream>
*** User 2022-05-25 10:45:30.972 ***
alice_history_since_1962@localhost/res1 in
</stream:stream>
=== Ended at 2022-05-25 10:45:31
=== successfully completed test case
=== === Returned value: ok