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

=== Config value:

    [{watchdog,<0.5427.1>},
     {inbox_opts,#{aff_changes => true,
                   async_writer => #{pool_size => 1},
                   backend => rdbms_async,bin_clean_after => 3600000,
                   bin_ttl => 30,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   delete_domain_limit => infinity,
                   groupchat => [muclight],
                   iqdisc => no_queue,max_result_limit => infinity,
                   remove_on_kicked => true,
                   reset_markers => [<<"displayed">>]}},
     {preset,"pgsql_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@f1019f8874a0.2024-03-11_12.41.43/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-03-11_12.49.19/inbox_extensions_suite.max_queries_can_fetch_ahead.24069.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@f1019f8874a0.2024-03-11_12.41.43/big_tests.tests.inbox_extensions_SUITE.logs/run.2024-03-11_12.49.19/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_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f1019f8874a0.2024-03-11_12.41.43"

=== Started at 2024-03-11 12:49:22


*** CT 2024-03-11 12:49:22.518 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2071.html

*** User 2024-03-11 12:49:22.560 ***🔗
alicE_max_queries_can_fetch_ahead_1633@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-11 12:49:22.560 ***🔗
alicE_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cac83c385f15fe0' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 12:49:22.560 ***🔗
alicE_max_queries_can_fetch_ahead_1633@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-11 12:49:22.560 ***🔗
alicE_max_queries_can_fetch_ahead_1633@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjMzAG1hdHlncnlzYQ==</auth>



*** User 2024-03-11 12:49:22.561 ***🔗
alicE_max_queries_can_fetch_ahead_1633@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 12:49:22.561 ***🔗
alicE_max_queries_can_fetch_ahead_1633@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-11 12:49:22.561 ***🔗
alicE_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='08cdaa224122ec7a' from='localhost' version='1.0' xml:lang='en' to='alice_max_queries_can_fetch_ahead_1633@localhost'>

*** User 2024-03-11 12:49:22.562 ***🔗
alicE_max_queries_can_fetch_ahead_1633@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-11 12:49:22.562 ***🔗
alicE_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='5a6d2f48f01fea3f802c1473c58ab207'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.562 ***🔗
alicE_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq id='5a6d2f48f01fea3f802c1473c58ab207' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_max_queries_can_fetch_ahead_1633@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.562 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='593cebf63f8becb33da33b582ece2bd0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.562 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq from='localhost' to='alice_max_queries_can_fetch_ahead_1633@localhost/res1' id='593cebf63f8becb33da33b582ece2bd0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.563 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
<presence/>



*** User 2024-03-11 12:49:22.563 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
<presence from='alice_max_queries_can_fetch_ahead_1633@localhost/res1' to='alice_max_queries_can_fetch_ahead_1633@localhost/res1'/>



*** User 2024-03-11 12:49:22.564 ***🔗
bOb_max_queries_can_fetch_ahead_1633@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-11 12:49:22.564 ***🔗
bOb_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e4e0025029e4349' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 12:49:22.565 ***🔗
bOb_max_queries_can_fetch_ahead_1633@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-11 12:49:22.565 ***🔗
bOb_max_queries_can_fetch_ahead_1633@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfMTYzMwBtYWtyb2xpa2E=</auth>



*** User 2024-03-11 12:49:22.565 ***🔗
bOb_max_queries_can_fetch_ahead_1633@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 12:49:22.565 ***🔗
bOb_max_queries_can_fetch_ahead_1633@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-11 12:49:22.566 ***🔗
bOb_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82bc5dd9ada6858a' from='localhost' version='1.0' xml:lang='en' to='bob_max_queries_can_fetch_ahead_1633@localhost'>

*** User 2024-03-11 12:49:22.566 ***🔗
bOb_max_queries_can_fetch_ahead_1633@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-11 12:49:22.566 ***🔗
bOb_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='d84230aa2783077bd397d3f489ad4dec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.566 ***🔗
bOb_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq id='d84230aa2783077bd397d3f489ad4dec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_max_queries_can_fetch_ahead_1633@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.566 ***🔗
bob_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='12d23e646f95839b86d30f4f349b47e8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.567 ***🔗
bob_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq from='localhost' to='bob_max_queries_can_fetch_ahead_1633@localhost/res1' id='12d23e646f95839b86d30f4f349b47e8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.567 ***🔗
bob_max_queries_can_fetch_ahead_1633@localhost/res1 out
<presence/>



*** User 2024-03-11 12:49:22.568 ***🔗
bob_max_queries_can_fetch_ahead_1633@localhost/res1 in
<presence from='bob_max_queries_can_fetch_ahead_1633@localhost/res1' to='bob_max_queries_can_fetch_ahead_1633@localhost/res1'/>



*** User 2024-03-11 12:49:22.568 ***🔗
kate_max_queries_can_fetch_ahead_1633@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-11 12:49:22.569 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e701e4c76ca3401' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 12:49:22.569 ***🔗
kate_max_queries_can_fetch_ahead_1633@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-11 12:49:22.569 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzE2MzMAbWFrcm93ZTtw</auth>



*** User 2024-03-11 12:49:22.570 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 12:49:22.570 ***🔗
kate_max_queries_can_fetch_ahead_1633@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-11 12:49:22.570 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d464daa877887ab3' from='localhost' version='1.0' xml:lang='en' to='kate_max_queries_can_fetch_ahead_1633@localhost'>

*** User 2024-03-11 12:49:22.570 ***🔗
kate_max_queries_can_fetch_ahead_1633@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-11 12:49:22.570 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='d5fe02f33a0aeef6147f80cbda9ed049'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.570 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq id='d5fe02f33a0aeef6147f80cbda9ed049' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_max_queries_can_fetch_ahead_1633@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.570 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='991b81cb457577c5e64f54f4bdab8d46'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.571 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq from='localhost' to='kate_max_queries_can_fetch_ahead_1633@localhost/res1' id='991b81cb457577c5e64f54f4bdab8d46' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.571 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 out
<presence/>



*** User 2024-03-11 12:49:22.572 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
<presence from='kate_max_queries_can_fetch_ahead_1633@localhost/res1' to='kate_max_queries_can_fetch_ahead_1633@localhost/res1'/>



*** User 2024-03-11 12:49:22.572 ***🔗
mike_max_queries_can_fetch_ahead_1633@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-11 12:49:22.573 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee0c47fe4cc3c799' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 12:49:22.573 ***🔗
mike_max_queries_can_fetch_ahead_1633@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-11 12:49:22.573 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzE2MzMAbmljbmllbWE=</auth>



*** User 2024-03-11 12:49:22.574 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 12:49:22.574 ***🔗
mike_max_queries_can_fetch_ahead_1633@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-11 12:49:22.574 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33f4a52036d23ff6' from='localhost' version='1.0' xml:lang='en' to='mike_max_queries_can_fetch_ahead_1633@localhost'>

*** User 2024-03-11 12:49:22.574 ***🔗
mike_max_queries_can_fetch_ahead_1633@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-11 12:49:22.574 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='9d6d39357e68cf3187086ac5d81ead6d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.575 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq id='9d6d39357e68cf3187086ac5d81ead6d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_max_queries_can_fetch_ahead_1633@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 12:49:22.575 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='097fa448a284358e4e841c4366e03412'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.575 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq from='localhost' to='mike_max_queries_can_fetch_ahead_1633@localhost/res1' id='097fa448a284358e4e841c4366e03412' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 12:49:22.575 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 out
<presence/>



*** User 2024-03-11 12:49:22.576 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
<presence from='mike_max_queries_can_fetch_ahead_1633@localhost/res1' to='mike_max_queries_can_fetch_ahead_1633@localhost/res1'/>



*** User 2024-03-11 12:49:22.576 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
<message to='bob_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2024-03-11 12:49:22.578 ***🔗
bob_max_queries_can_fetch_ahead_1633@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1633@localhost/res1' to='bob_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2024-03-11 12:49:22.578 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
<message to='kate_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2024-03-11 12:49:22.580 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1633@localhost/res1' to='kate_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2024-03-11 12:49:22.580 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
<message to='mike_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2024-03-11 12:49:22.581 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1633@localhost/res1' to='mike_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2024-03-11 12:49:22.581 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='cdb184cb2e2ab6a0f2d99fceba3a0779'>
	<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-11T12:49:22.580265Z</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-11 12:49:22.583 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1633@localhost' to='alice_max_queries_can_fetch_ahead_1633@localhost/res1' id='1710-161362-582975'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='cdb184cb2e2ab6a0f2d99fceba3a0779'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T12:49:22.576934Z'/>
			<message from='alice_max_queries_can_fetch_ahead_1633@localhost/res1' to='bob_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' 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-11 12:49:22.583 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq from='alice_max_queries_can_fetch_ahead_1633@localhost' to='alice_max_queries_can_fetch_ahead_1633@localhost/res1' id='cdb184cb2e2ab6a0f2d99fceba3a0779' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710161362576934/Ym9iX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjMzQGxvY2FsaG9zdA==</first>
			<last>1710161362576934/Ym9iX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjMzQGxvY2FsaG9zdA==</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-11 12:49:22.683 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
<iq type='set' id='cdb184cb2e2ab6a0f2d99fceba3a0779'>
	<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-11T12:49:22.580265Z</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-11 12:49:22.685 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1633@localhost' to='alice_max_queries_can_fetch_ahead_1633@localhost/res1' id='1710-161362-684631'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='cdb184cb2e2ab6a0f2d99fceba3a0779'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T12:49:22.578881Z'/>
			<message from='alice_max_queries_can_fetch_ahead_1633@localhost/res1' to='kate_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' 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-11 12:49:22.685 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
<message from='alice_max_queries_can_fetch_ahead_1633@localhost' to='alice_max_queries_can_fetch_ahead_1633@localhost/res1' id='1710-161362-684640'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='cdb184cb2e2ab6a0f2d99fceba3a0779'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T12:49:22.576934Z'/>
			<message from='alice_max_queries_can_fetch_ahead_1633@localhost/res1' to='bob_max_queries_can_fetch_ahead_1633@localhost/res1' type='chat' 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-11 12:49:22.685 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
<iq from='alice_max_queries_can_fetch_ahead_1633@localhost' to='alice_max_queries_can_fetch_ahead_1633@localhost/res1' id='cdb184cb2e2ab6a0f2d99fceba3a0779' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1710161362578881/a2F0ZV9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfMTYzM0Bsb2NhbGhvc3Q=</first>
			<last>1710161362576934/Ym9iX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xNjMzQGxvY2FsaG9zdA==</last>
		</set>
		<active-conversations>0</active-conversations>
		<count>2</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2024-03-11 12:49:22.685 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-03-11 12:49:22.685 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 out
</stream:stream>

*** User 2024-03-11 12:49:22.685 ***🔗
mike_max_queries_can_fetch_ahead_1633@localhost/res1 in
</stream:stream>

*** User 2024-03-11 12:49:22.685 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 out
</stream:stream>

*** User 2024-03-11 12:49:22.686 ***🔗
kate_max_queries_can_fetch_ahead_1633@localhost/res1 in
</stream:stream>

*** User 2024-03-11 12:49:22.686 ***🔗
bob_max_queries_can_fetch_ahead_1633@localhost/res1 out
</stream:stream>

*** User 2024-03-11 12:49:22.686 ***🔗
bob_max_queries_can_fetch_ahead_1633@localhost/res1 in
</stream:stream>

*** User 2024-03-11 12:49:22.686 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 out
</stream:stream>

*** User 2024-03-11 12:49:22.686 ***🔗
alice_max_queries_can_fetch_ahead_1633@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 12:49:22.689 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2071.html



=== Ended at 2024-03-11 12:49:22
=== successfully completed test case
=== === Returned value: ok