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

=== Config value:

    [{watchdog,<0.23674.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-18_10.53.30/inbox_extensions_suite.max_queries_can_fetch_ahead.20356.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.inbox_extensions_SUITE.logs/run.2022-03-18_10.53.30/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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 => [],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 =>
            #{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,<<"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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:53:34


*** CT 2022-03-18 10:53:34.123 *** View log from node mongooseim@localhost when started mongooseim@localhost_826.html
*** CT 2022-03-18 10:53:34.124 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_437.html

*** User 2022-03-18 10:53:34.184 ***
alicE_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.185 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e28940b3fcc1620' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.186 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.186 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21heF9xdWVyaWVzX2Nhbl9mZXRjaF9haGVhZF8xMDA0AG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:53:34.189 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:34.189 ***
alicE_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.189 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='560b29b2c3dece06' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.190 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.190 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='d903b9d37afe4271156465b55543059d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.190 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq id='d903b9d37afe4271156465b55543059d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.190 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='84868d869e536a67d8cf9c4b1c416eb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.191 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq type='result' id='84868d869e536a67d8cf9c4b1c416eb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.191 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:34.252 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<presence from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' to='alice_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:34.254 ***
bOb_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.255 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='160a4c74a2c59221' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.255 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.255 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXhfcXVlcmllc19jYW5fZmV0Y2hfYWhlYWRfMTAwNABtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:53:34.257 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:34.258 ***
bOb_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.258 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5da9ddebf3d0fdaf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.258 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.258 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='f2bfaaa3606a7f5a09ee2e230533df0a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.259 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq id='f2bfaaa3606a7f5a09ee2e230533df0a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.259 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='f18c2e00caa0a9007121c0884d218826'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.259 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq type='result' id='f18c2e00caa0a9007121c0884d218826'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.260 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:34.264 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<presence from='bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1' to='bob_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:34.265 ***
kate_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.265 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35788b8badb77fe9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.265 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.266 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzEwMDQAbWFrcm93ZTtw</auth>



*** User 2022-03-18 10:53:34.267 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:34.267 ***
kate_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.267 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75bb33b57cc34567' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.267 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.267 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='b66fc6e4f50fd53112bf9b421b9dce0f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.267 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq id='b66fc6e4f50fd53112bf9b421b9dce0f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.267 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='216410e5125c740dfc0d7b72f4258b3c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.268 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq type='result' id='216410e5125c740dfc0d7b72f4258b3c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.268 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:34.269 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<presence from='kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1' to='kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:34.270 ***
mike_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.270 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='444bc3037fb6be6a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.270 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.270 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfbWF4X3F1ZXJpZXNfY2FuX2ZldGNoX2FoZWFkXzEwMDQAbmljbmllbWE=</auth>



*** User 2022-03-18 10:53:34.271 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:34.271 ***
mike_max_queries_can_fetch_ahead_1004@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 2022-03-18 10:53:34.272 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d08355ef1d9488e5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:34.272 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/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-18 10:53:34.272 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='c406eefb1e7bf10e1e80b01040f9ec5d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.272 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq id='c406eefb1e7bf10e1e80b01040f9ec5d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:34.272 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='cc6dd8c2ab34a7f4623b2ae7d5b99e42'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.273 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq type='result' id='cc6dd8c2ab34a7f4623b2ae7d5b99e42'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:34.273 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:53:34.274 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<presence from='mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1' to='mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:34.275 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<message to='bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2022-03-18 10:53:34.277 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<message from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' to='bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 1</body>
</message>



*** User 2022-03-18 10:53:34.277 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<message to='kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2022-03-18 10:53:34.278 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<message from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' to='kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 2</body>
</message>



*** User 2022-03-18 10:53:34.278 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<message to='mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2022-03-18 10:53:34.280 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<message from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' to='mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en' type='chat' xmlns='jabber:client'>
	<body>Msg 3</body>
</message>



*** User 2022-03-18 10:53:34.280 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
<iq type='set' id='3d25ab0b15a1a35c3757b52c3909e14d'>
	<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-18T10:53:34.278796Z</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-18 10:53:34.281 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<message from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com' to='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' id='668f26c6-5d5d-46c4-958b-d5ea8585ab18'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='3d25ab0b15a1a35c3757b52c3909e14d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:34.277519Z'/>
			<message from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en' to='kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1' type='chat' xmlns='jabber:client'>
				<body>Msg 2</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:53:34.281 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<message from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com' to='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' id='f3d0cb90-68fb-4a8e-b2c9-92a949db8e41'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='3d25ab0b15a1a35c3757b52c3909e14d'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-18T10:53:34.275223Z'/>
			<message from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' xml:lang='en' to='bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1' type='chat' xmlns='jabber:client'>
				<body>Msg 1</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-18 10:53:34.282 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
<iq from='alicE_max_queries_can_fetch_ahead_1004@domain.example.com' to='alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1' id='3d25ab0b15a1a35c3757b52c3909e14d' 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-18 10:53:34.282 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:34.282 ***
mike_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:53:34.282 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:34.282 ***
kate_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:53:34.282 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:34.282 ***
bOb_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:53:34.283 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:53:34.283 ***
alicE_max_queries_can_fetch_ahead_1004@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:53:34.284 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_437.html
*** CT 2022-03-18 10:53:34.285 *** View log from node mongooseim@localhost when finished mongooseim@localhost_826.html



=== Ended at 2022-03-18 10:53:34
=== successfully completed test case
=== === Returned value: ok