=== Test case: inbox_extensions_SUITE:max_queries_can_fetch_ahead/1 (click for source code)

=== Config value:

    [{watchdog,<0.22687.0>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 4},
                   backend => rdbms_async,
                   groupchat => [muclight],
                   iqdisc => no_queue,remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_extensions_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-07_16.01.01/inbox_extensions_suite.max_queries_can_fetch_ahead.18820.html"},
     {tc_group_properties,[{name,one_to_one},parallel]},
     {tc_group_path,[[{name,async_pools}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_extensions_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-07_16.01.01/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},{time_to_live,2}],
        mod_carboncopy => [],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"}]},
             {welcome_message,{[],[]}}],
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management => [],
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_search_fields =>
                  [{<<"User">>,<<"%u">>},
                   {<<"Full Name">>,<<"displayName">>},
                   {<<"Given Name">>,<<"givenName">>},
                   {<<"Middle Name">>,<<"initials">>},
                   {<<"Family Name">>,<<"sn">>},
                   {<<"Nickname">>,<<"%u">>},
                   {<<"Birthday">>,<<"birthDay">>},
                   {<<"Country">>,<<"c">>},
                   {<<"City">>,<<"l">>},
                   {<<"Email">>,<<"mail">>},
                   {<<"Organization Name">>,<<"o">>},
                   {<<"Organization Unit">>,<<"ou">>}],
              ldap_search_operator => 'and',
              ldap_search_reported =>
                  [{<<"Full Name">>,<<"FN">>},
                   {<<"Given Name">>,<<"FIRST">>},
                   {<<"Middle Name">>,<<"MIDDLE">>},
                   {<<"Family Name">>,<<"LAST">>},
                   {<<"Nickname">>,<<"NICK">>},
                   {<<"Birthday">>,<<"BDAY">>},
                   {<<"Country">>,<<"CTRY">>},
                   {<<"City">>,<<"LOCALITY">>},
                   {<<"Email">>,<<"EMAIL">>},
                   {<<"Organization Name">>,<<"ORGNAME">>},
                   {<<"Organization Unit">>,<<"ORGUNIT">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_vcard_map =>
                  [{<<"NICKNAME">>,<<"%u">>,[]},
                   {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                   {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                   {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                   {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                   {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                   {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                   {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                   {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                   {<<"STREET">>,<<"%s">>,[<<"street">>]},
                   {<<"REGION">>,<<"%s">>,[<<"st">>]},
                   {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                   {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                   {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                   {<<"DESC">>,<<"%s">>,[<<"description">>]},
                   {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                   {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                   {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                   {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                   {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
              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">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:01:04


*** CT 2022-03-07 16:01:04.856 *** View log from node mongooseim@localhost when started mongooseim@localhost_744.html
*** CT 2022-03-07 16:01:04.857 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_110.html

*** User 2022-03-07 16:01:04.961 ***
alicE_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.962 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e655c4048ace7329' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:04.962 ***
alicE_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.962 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF85NzAAbWF0eWdyeXNh</auth>



*** User 2022-03-07 16:01:04.966 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:01:04.966 ***
alicE_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.967 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d22e0804e81a55e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:04.967 ***
alicE_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.967 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='65d9b544413893e3f8a7785c34270b5e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:01:04.968 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq id='65d9b544413893e3f8a7785c34270b5e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_max_queries_can_fetch_ahead_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:01:04.968 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='fb4a97a37664565e766d4bb316453c09'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:04.968 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq type='result' id='fb4a97a37664565e766d4bb316453c09'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:04.968 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<presence/>



*** User 2022-03-07 16:01:04.987 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<presence from='alicE_max_queries_can_fetch_ahead_970@localhost/res1' to='alice_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:01:04.988 ***
bOb_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.988 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3cce3972ab9a8c4a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:04.988 ***
bOb_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.988 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfOTcwAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-07 16:01:04.990 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:01:04.990 ***
bOb_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.991 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2618bf48a31bb37b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:04.991 ***
bOb_max_queries_can_fetch_ahead_970@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-03-07 16:01:04.991 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='1b160fbf8d224fd83682219e5357ae57'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:01:04.991 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq id='1b160fbf8d224fd83682219e5357ae57' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_max_queries_can_fetch_ahead_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:01:04.991 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='c3defd64561863c7d85520b04ff5008e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:04.992 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq type='result' id='c3defd64561863c7d85520b04ff5008e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:04.992 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 out
<presence/>



*** User 2022-03-07 16:01:05.059 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
<presence from='bOb_max_queries_can_fetch_ahead_970@localhost/res1' to='bob_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:01:05.060 ***
kate_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.061 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0043ba63d5487977' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:05.061 ***
kate_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.061 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzk3MABtYWtyb3dlO3A=</auth>



*** User 2022-03-07 16:01:05.063 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:01:05.064 ***
kate_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.064 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd85c65f367fb058' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:05.064 ***
kate_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.064 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='9754f1470014b593e53f84e3c8084496'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:01:05.065 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq id='9754f1470014b593e53f84e3c8084496' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_max_queries_can_fetch_ahead_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:01:05.065 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='59a38218600a65d38fecb856e8e054bf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:05.065 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq type='result' id='59a38218600a65d38fecb856e8e054bf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:05.065 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 out
<presence/>



*** User 2022-03-07 16:01:05.069 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
<presence from='kate_max_queries_can_fetch_ahead_970@localhost/res1' to='kate_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:01:05.070 ***
mike_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.070 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a5050e4b82c95da' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:05.070 ***
mike_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.070 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzk3MABuaWNuaWVtYQ==</auth>



*** User 2022-03-07 16:01:05.072 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:01:05.072 ***
mike_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.072 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a8277627cf10445' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:01:05.072 ***
mike_max_queries_can_fetch_ahead_970@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-03-07 16:01:05.072 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='eca1a924f29b16939009746fd5c0144f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:01:05.073 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq id='eca1a924f29b16939009746fd5c0144f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_max_queries_can_fetch_ahead_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:01:05.073 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='c675e14cb8fe40c6f772d6baeb9ca55d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:05.073 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq type='result' id='c675e14cb8fe40c6f772d6baeb9ca55d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:01:05.074 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 out
<presence/>



*** User 2022-03-07 16:01:05.077 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
<presence from='mike_max_queries_can_fetch_ahead_970@localhost/res1' to='mike_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en'/>



*** User 2022-03-07 16:01:05.078 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<message to='bOb_max_queries_can_fetch_ahead_970@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2022-03-07 16:01:05.083 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
<message from='alicE_max_queries_can_fetch_ahead_970@localhost/res1' to='bOb_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2022-03-07 16:01:05.083 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<message to='kate_max_queries_can_fetch_ahead_970@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2022-03-07 16:01:05.085 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
<message from='alicE_max_queries_can_fetch_ahead_970@localhost/res1' to='kate_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2022-03-07 16:01:05.086 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<message to='mike_max_queries_can_fetch_ahead_970@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2022-03-07 16:01:05.089 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
<message from='alicE_max_queries_can_fetch_ahead_970@localhost/res1' to='mike_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2022-03-07 16:01:05.089 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
<iq type='set' id='f0fb465a3e4c99be700b5a38069eb5b5'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='boolean' var='archive'>
				<value>false</value>
			</field>
			<field type='text-single' var='end'>
				<value>2022-03-07T16:01:05.086052Z</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<max>2</max>
		</set>
	</inbox>
</iq>



*** User 2022-03-07 16:01:05.092 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<message from='alicE_max_queries_can_fetch_ahead_970@localhost' to='alicE_max_queries_can_fetch_ahead_970@localhost/res1' id='4f70244a-1869-4134-8481-bf75477a8fec'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='f0fb465a3e4c99be700b5a38069eb5b5'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:01:05.083563Z'/>
			<message from='alicE_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en' to='kate_max_queries_can_fetch_ahead_970@localhost/res1' type='chat' xmlns='jabber:client'>
				<body>Msg 2</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-07 16:01:05.092 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<message from='alicE_max_queries_can_fetch_ahead_970@localhost' to='alicE_max_queries_can_fetch_ahead_970@localhost/res1' id='93dc365f-eee4-4077-a305-9c1f10c2847c'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='f0fb465a3e4c99be700b5a38069eb5b5'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-07T16:01:05.078450Z'/>
			<message from='alicE_max_queries_can_fetch_ahead_970@localhost/res1' xml:lang='en' to='bOb_max_queries_can_fetch_ahead_970@localhost/res1' type='chat' xmlns='jabber:client'>
				<body>Msg 1</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-07 16:01:05.092 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
<iq from='alicE_max_queries_can_fetch_ahead_970@localhost' to='alicE_max_queries_can_fetch_ahead_970@localhost/res1' id='f0fb465a3e4c99be700b5a38069eb5b5' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>2</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-03-07 16:01:05.092 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:01:05.093 ***
mike_max_queries_can_fetch_ahead_970@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:01:05.093 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:01:05.093 ***
kate_max_queries_can_fetch_ahead_970@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:01:05.093 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:01:05.094 ***
bOb_max_queries_can_fetch_ahead_970@localhost/res1 in
</stream:stream>

*** User 2022-03-07 16:01:05.094 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 out
</stream:stream>

*** User 2022-03-07 16:01:05.094 ***
alicE_max_queries_can_fetch_ahead_970@localhost/res1 in
</stream:stream>
*** CT 2022-03-07 16:01:05.096 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_110.html
*** CT 2022-03-07 16:01:05.097 *** View log from node mongooseim@localhost when finished mongooseim@localhost_744.html



=== Ended at 2022-03-07 16:01:05
=== successfully completed test case
=== === Returned value: ok