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

=== Config value:

    [{watchdog,<0.37613.0>},
     {inbox_opts,#{backend => rdbms_async,max_result_limit => infinity,
                   iqdisc => no_queue,
                   groupchat => [muclight],
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   delete_domain_limit => infinity,bin_ttl => 30,
                   bin_clean_after => 3600000,
                   async_writer => #{pool_size => 1},
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true}},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_extensions_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.inbox_extensions_SUITE.logs/run.2023-11-17_15.17.52/inbox_extensions_suite.max_queries_can_fetch_ahead.88322.html"},
     {tc_group_properties,[{name,pagination}]},
     {tc_group_path,[[{name,one_to_one}],[{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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.inbox_extensions_SUITE.logs/run.2023-11-17_15.17.52/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:18:06


*** CT 2023-11-17 15:18:06.058 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2184.html

*** User 2023-11-17 15:18:06.072 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.073 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26a46adb92b6c17f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:18:06.073 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.073 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjE0AG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:18:06.074 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:18:06.074 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.074 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ccb29a69f3c98b2' from='domain.example.com' version='1.0' xml:lang='en' to='alice_max_queries_can_fetch_ahead_1614@domain.example.com'>

*** User 2023-11-17 15:18:06.074 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.075 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='cf612e137b92493d3939ea498a49bae0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.075 ***🔗
alicE_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq id='cf612e137b92493d3939ea498a49bae0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.075 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='249b8cb1294e94ec7c31cd4e965bbb58'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.075 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' id='249b8cb1294e94ec7c31cd4e965bbb58' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.075 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:18:06.076 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<presence from='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' to='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1'/>



*** User 2023-11-17 15:18:06.077 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.077 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b1370d9654b0063' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:18:06.077 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.077 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfMTYxNABtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:18:06.078 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:18:06.078 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.079 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6a8298846408fe5' from='domain.example.com' version='1.0' xml:lang='en' to='bob_max_queries_can_fetch_ahead_1614@domain.example.com'>

*** User 2023-11-17 15:18:06.079 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.079 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='8fbae5adf5809837b22c9b3b00e43082'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.079 ***🔗
bOb_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq id='8fbae5adf5809837b22c9b3b00e43082' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.079 ***🔗
bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='0a412b99bb9b9f2837577aa00de45598'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.079 ***🔗
bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1' id='0a412b99bb9b9f2837577aa00de45598' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.080 ***🔗
bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:18:06.081 ***🔗
bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<presence from='bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1' to='bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1'/>



*** User 2023-11-17 15:18:06.081 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.081 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c6cfdf679d9c98f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:18:06.082 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.082 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzE2MTQAbWFrcm93ZTtw</auth>



*** User 2023-11-17 15:18:06.083 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:18:06.083 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.083 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7c628a2f0a83e5c4' from='domain.example.com' version='1.0' xml:lang='en' to='kate_max_queries_can_fetch_ahead_1614@domain.example.com'>

*** User 2023-11-17 15:18:06.083 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.083 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='e38a68de8feeca409c01eea66577d64d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.083 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq id='e38a68de8feeca409c01eea66577d64d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.084 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='606457ec801ca74976c4959d1be81361'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.084 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1' id='606457ec801ca74976c4959d1be81361' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.084 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:18:06.085 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<presence from='kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1' to='kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1'/>



*** User 2023-11-17 15:18:06.086 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.086 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39e5eab329fdd0d4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:18:06.086 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.086 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzE2MTQAbmljbmllbWE=</auth>



*** User 2023-11-17 15:18:06.087 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:18:06.087 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:06.087 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8cd0c000daa7230' from='domain.example.com' version='1.0' xml:lang='en' to='mike_max_queries_can_fetch_ahead_1614@domain.example.com'>

*** User 2023-11-17 15:18:06.087 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:06.088 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='8b9a2698dd70cd01096b5fdb5bb8b582'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.088 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq id='8b9a2698dd70cd01096b5fdb5bb8b582' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:18:06.088 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='23738e37f47c06387ce50af3a78eb453'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.088 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1' id='23738e37f47c06387ce50af3a78eb453' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:06.088 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:18:06.089 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<presence from='mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1' to='mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1'/>



*** User 2023-11-17 15:18:06.090 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<message type='chat' to='bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2023-11-17 15:18:06.091 ***🔗
bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<message from='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' to='bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2023-11-17 15:18:06.091 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<message type='chat' to='kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2023-11-17 15:18:06.093 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<message from='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' to='kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2023-11-17 15:18:06.093 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<message type='chat' to='mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2023-11-17 15:18:06.094 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<message from='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' to='mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2023-11-17 15:18:06.094 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
<iq type='set' id='52a5bb97d3cf82f54678de1f041a4304'>
	<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='list-single' var='box'>
				<value>inbox</value>
			</field>
			<field type='text-single' var='end'>
				<value>2023-11-17T15:18:06.093284Z</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 2023-11-17 15:18:06.096 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<message from='alice_max_queries_can_fetch_ahead_1614@domain.example.com' to='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' id='1700-234286-96275'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='52a5bb97d3cf82f54678de1f041a4304'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:18:06.091937Z'/>
			<message from='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' type='chat' to='kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1' xmlns='jabber:client'>
				<body>Msg 2</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:18:06.096 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<message from='alice_max_queries_can_fetch_ahead_1614@domain.example.com' to='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' id='1700-234286-96285'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='52a5bb97d3cf82f54678de1f041a4304'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:18:06.090247Z'/>
			<message from='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' type='chat' to='bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1' xmlns='jabber:client'>
				<body>Msg 1</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2023-11-17 15:18:06.096 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
<iq from='alice_max_queries_can_fetch_ahead_1614@domain.example.com' to='alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1' id='52a5bb97d3cf82f54678de1f041a4304' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1700234286091937/a2F0ZV9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfMTYxNEBkb21haW4uZXhhbXBsZS5jb20=</first>
			<last>1700234286090247/Ym9iX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjE0QGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>2</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2023-11-17 15:18:06.097 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2023-11-17 15:18:06.097 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:18:06.097 ***🔗
mike_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:18:06.097 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:18:06.097 ***🔗
kate_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:18:06.097 ***🔗
bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:18:06.098 ***🔗
bob_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:18:06.098 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:18:06.098 ***🔗
alice_max_queries_can_fetch_ahead_1614@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:18:06.100 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2184.html



=== Ended at 2023-11-17 15:18:06
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result