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

=== Config value:

    [{watchdog,<0.37423.0>},
     {inbox_opts,#{iqdisc => no_queue,
                   groupchat => [muclight],
                   max_result_limit => infinity,backend => rdbms_async,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   bin_ttl => 30,bin_clean_after => 3600000,
                   async_writer => #{pool_size => 1},
                   delete_domain_limit => infinity,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true}},
     {preset,"mysql_redis"},
     {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@05491d0c2b35.2024-03-13_08.15.07/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-03-13_08.23.30/inbox_extensions_suite.max_queries_can_fetch_ahead.46084.html"},
     {tc_group_properties,[{name,pagination},parallel]},
     {tc_group_path,[[{name,one_to_one},parallel],[{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@05491d0c2b35.2024-03-13_08.15.07/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-03-13_08.23.30/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{users_can_see_hidden_services => false,iqdisc => one_queue,
              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,<<"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@05491d0c2b35.2024-03-13_08.15.07"

=== Started at 2024-03-13 08:23:33


*** CT 2024-03-13 08:23:33.786 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1797.html

*** User 2024-03-13 08:23:33.913 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:33.916 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d21abb53faf6b463' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:23:33.916 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:33.916 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjQzAG1hdHlncnlzYQ==</auth>



*** User 2024-03-13 08:23:33.932 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:23:33.933 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:33.934 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78d75cb0050f325b' from='localhost' version='1.0' xml:lang='en' to='alice_max_queries_can_fetch_ahead_1643@localhost'>

*** User 2024-03-13 08:23:33.934 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:33.935 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='0d0b8358e6ffc3eb620b20325ecb6be7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:23:33.939 ***🔗
alicE_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq id='0d0b8358e6ffc3eb620b20325ecb6be7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_max_queries_can_fetch_ahead_1643@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:23:33.941 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='9f50f2ff314a0b610513207e985f726c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:33.951 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq from='localhost' to='alice_max_queries_can_fetch_ahead_1643@localhost/res1' id='9f50f2ff314a0b610513207e985f726c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:33.952 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
<presence/>



*** User 2024-03-13 08:23:33.966 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 in
<presence from='alice_max_queries_can_fetch_ahead_1643@localhost/res1' to='alice_max_queries_can_fetch_ahead_1643@localhost/res1'/>



*** User 2024-03-13 08:23:33.973 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:33.979 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='218cc1ae75291b37' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:23:33.980 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:33.980 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfMTY0MwBtYWtyb2xpa2E=</auth>



*** User 2024-03-13 08:23:33.988 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:23:33.988 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:33.989 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ff297a042cf2ea18' from='localhost' version='1.0' xml:lang='en' to='bob_max_queries_can_fetch_ahead_1643@localhost'>

*** User 2024-03-13 08:23:33.989 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:33.990 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='abb208e4ddd2fec3b5224679f5c5b10b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:23:33.990 ***🔗
bOb_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq id='abb208e4ddd2fec3b5224679f5c5b10b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_max_queries_can_fetch_ahead_1643@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:23:33.990 ***🔗
bob_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='dc1855be0a7467e88622f1ed8e16969b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:33.992 ***🔗
bob_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq from='localhost' to='bob_max_queries_can_fetch_ahead_1643@localhost/res1' id='dc1855be0a7467e88622f1ed8e16969b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:33.992 ***🔗
bob_max_queries_can_fetch_ahead_1643@localhost/res1 out
<presence/>



*** User 2024-03-13 08:23:34.007 ***🔗
bob_max_queries_can_fetch_ahead_1643@localhost/res1 in
<presence from='bob_max_queries_can_fetch_ahead_1643@localhost/res1' to='bob_max_queries_can_fetch_ahead_1643@localhost/res1'/>



*** User 2024-03-13 08:23:34.013 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:34.014 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bff141a2d0a988dd' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:23:34.014 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:34.014 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzE2NDMAbWFrcm93ZTtw</auth>



*** User 2024-03-13 08:23:34.047 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:23:34.050 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:34.061 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='126fae09ba643cdf' from='localhost' version='1.0' xml:lang='en' to='kate_max_queries_can_fetch_ahead_1643@localhost'>

*** User 2024-03-13 08:23:34.062 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:34.062 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='e21dd0bc79feae1421adc332a0d2e63f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:23:34.063 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq id='e21dd0bc79feae1421adc332a0d2e63f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_max_queries_can_fetch_ahead_1643@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:23:34.064 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='00edf8623bc7389d7815c75f4f7de6d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:34.073 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq from='localhost' to='kate_max_queries_can_fetch_ahead_1643@localhost/res1' id='00edf8623bc7389d7815c75f4f7de6d9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:34.073 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 out
<presence/>



*** User 2024-03-13 08:23:34.085 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
<presence from='kate_max_queries_can_fetch_ahead_1643@localhost/res1' to='kate_max_queries_can_fetch_ahead_1643@localhost/res1'/>



*** User 2024-03-13 08:23:34.086 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:34.089 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c1d291682f11dcca' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:23:34.089 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:34.089 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzE2NDMAbmljbmllbWE=</auth>



*** User 2024-03-13 08:23:34.092 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:23:34.092 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:23:34.094 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffa9c9ad28e7ec63' from='localhost' version='1.0' xml:lang='en' to='mike_max_queries_can_fetch_ahead_1643@localhost'>

*** User 2024-03-13 08:23:34.095 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:34.095 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='ec356101407bc39f4ae381d71f72b1ce'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:23:34.098 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq id='ec356101407bc39f4ae381d71f72b1ce' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_max_queries_can_fetch_ahead_1643@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:23:34.098 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='3225ea6077b7efe68c2dcf659b036566'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:34.112 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq from='localhost' to='mike_max_queries_can_fetch_ahead_1643@localhost/res1' id='3225ea6077b7efe68c2dcf659b036566' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:23:34.112 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 out
<presence/>



*** User 2024-03-13 08:23:34.120 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
<presence from='mike_max_queries_can_fetch_ahead_1643@localhost/res1' to='mike_max_queries_can_fetch_ahead_1643@localhost/res1'/>



*** User 2024-03-13 08:23:34.121 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
<message type='chat' to='bob_max_queries_can_fetch_ahead_1643@localhost/res1' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2024-03-13 08:23:34.131 ***🔗
bob_max_queries_can_fetch_ahead_1643@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1643@localhost/res1' to='bob_max_queries_can_fetch_ahead_1643@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2024-03-13 08:23:34.132 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
<message type='chat' to='kate_max_queries_can_fetch_ahead_1643@localhost/res1' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2024-03-13 08:23:34.160 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1643@localhost/res1' to='kate_max_queries_can_fetch_ahead_1643@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2024-03-13 08:23:34.161 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
<message type='chat' to='mike_max_queries_can_fetch_ahead_1643@localhost/res1' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2024-03-13 08:23:34.169 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1643@localhost/res1' to='mike_max_queries_can_fetch_ahead_1643@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2024-03-13 08:23:34.172 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='820ca3a4a368d8d614676eccd8c6072d'>
	<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>2024-03-13T08:23:34.161527Z</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 2024-03-13 08:23:34.179 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq from='alice_max_queries_can_fetch_ahead_1643@localhost' to='alice_max_queries_can_fetch_ahead_1643@localhost/res1' id='820ca3a4a368d8d614676eccd8c6072d' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'/>
		<active-conversations>0</active-conversations>
		<count>0</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-13 08:23:34.279 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
<iq type='set' id='820ca3a4a368d8d614676eccd8c6072d'>
	<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>2024-03-13T08:23:34.161527Z</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 2024-03-13 08:23:34.283 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1643@localhost' to='alice_max_queries_can_fetch_ahead_1643@localhost/res1' id='1710-318214-282276'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='820ca3a4a368d8d614676eccd8c6072d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-13T08:23:34.133078Z'/>
			<message from='alice_max_queries_can_fetch_ahead_1643@localhost/res1' type='chat' to='kate_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:34.283 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1643@localhost' to='alice_max_queries_can_fetch_ahead_1643@localhost/res1' id='1710-318214-282290'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='820ca3a4a368d8d614676eccd8c6072d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-13T08:23:34.122848Z'/>
			<message from='alice_max_queries_can_fetch_ahead_1643@localhost/res1' type='chat' to='bob_max_queries_can_fetch_ahead_1643@localhost/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 2024-03-13 08:23:34.283 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 in
<iq from='alice_max_queries_can_fetch_ahead_1643@localhost' to='alice_max_queries_can_fetch_ahead_1643@localhost/res1' id='820ca3a4a368d8d614676eccd8c6072d' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710318214133078/a2F0ZV9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfMTY0M0Bsb2NhbGhvc3Q=</first>
			<last>1710318214122848/Ym9iX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjQzQGxvY2FsaG9zdA==</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>2</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-13 08:23:34.283 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-03-13 08:23:34.284 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:23:34.284 ***🔗
mike_max_queries_can_fetch_ahead_1643@localhost/res1 in
</stream:stream>

*** User 2024-03-13 08:23:34.285 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:23:34.285 ***🔗
kate_max_queries_can_fetch_ahead_1643@localhost/res1 in
</stream:stream>

*** User 2024-03-13 08:23:34.285 ***🔗
bob_max_queries_can_fetch_ahead_1643@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:23:34.286 ***🔗
bob_max_queries_can_fetch_ahead_1643@localhost/res1 in
</stream:stream>

*** User 2024-03-13 08:23:34.286 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:23:34.287 ***🔗
alice_max_queries_can_fetch_ahead_1643@localhost/res1 in
</stream:stream>
*** CT 2024-03-13 08:23:34.290 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1797.html



=== Ended at 2024-03-13 08:23:34
=== successfully completed test case
=== === Returned value: ok