=== Test case: inbox_SUITE:reset_unread_counter_and_show_only_unread/1 (click for source code)

=== Config value:

    [{watchdog,<0.35213.0>},
     {inbox_opts,#{backend => rdbms_async,
                   groupchat => [muclight],
                   iqdisc => no_queue,delete_domain_limit => infinity,
                   async_writer => #{pool_size => 1},
                   max_result_limit => infinity,
                   reset_markers => [<<"displayed">>],
                   aff_changes => true,remove_on_kicked => true,
                   boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
                   bin_ttl => 30,bin_clean_after => 3600000}},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@33609cf67be7.2024-02-28_10.20.46/big_tests.tests.inbox_SUITE.logs/run.2024-02-28_10.27.28/inbox_suite.reset_unread_counter_and_show_only_unread.42244.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_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@33609cf67be7.2024-02-28_10.20.46/big_tests.tests.inbox_SUITE.logs/run.2024-02-28_10.27.28/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_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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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_carboncopy => #{iqdisc => no_queue},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@33609cf67be7.2024-02-28_10.20.46"

=== Started at 2024-02-28 10:27:32


*** CT 2024-02-28 10:27:32.697 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1788.html

*** User 2024-02-28 10:27:32.729 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.730 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d4764202267e168' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-28 10:27:32.730 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.730 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQ3NQBtYWtyb3dlO3A=</auth>



*** User 2024-02-28 10:27:32.732 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-28 10:27:32.732 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.732 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ebdd70fe64feab0' from='domain.example.com' version='1.0' xml:lang='en' to='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com'>

*** User 2024-02-28 10:27:32.732 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.732 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='fd44f4081042cb433f84c50231e81b51'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-28 10:27:32.733 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq id='fd44f4081042cb433f84c50231e81b51' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-28 10:27:32.733 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='4092690d260c27826adf9c66cc981c01'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:27:32.734 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='domain.example.com' to='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='4092690d260c27826adf9c66cc981c01' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:27:32.734 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<presence/>



*** User 2024-02-28 10:27:32.811 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<presence from='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' to='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1'/>



*** User 2024-02-28 10:27:32.812 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.812 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edf31d62add19a97' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-28 10:27:32.812 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.812 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AG1pa2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQ3NQBuaWNuaWVtYQ==</auth>



*** User 2024-02-28 10:27:32.813 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-28 10:27:32.813 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.813 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a77e99992c7bf26' from='domain.example.com' version='1.0' xml:lang='en' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com'>

*** User 2024-02-28 10:27:32.813 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.813 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='94d247550bb399329d23f13f57780233'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-28 10:27:32.814 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq id='94d247550bb399329d23f13f57780233' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-28 10:27:32.814 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='9444104169ac5503eeb9d6b03f9300d0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:27:32.815 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='9444104169ac5503eeb9d6b03f9300d0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:27:32.815 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<presence/>



*** User 2024-02-28 10:27:32.844 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<presence from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1'/>



*** User 2024-02-28 10:27:32.845 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.845 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ecd91afb9ffbb068' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-28 10:27:32.845 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.845 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Jlc2V0X3VucmVhZF9jb3VudGVyX2FuZF9zaG93X29ubHlfdW5yZWFkXzE0NzUAbWF0eWdyeXNh</auth>



*** User 2024-02-28 10:27:32.846 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-28 10:27:32.846 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.847 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59502fee3e8f63d6' from='domain.example.com' version='1.0' xml:lang='en' to='alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com'>

*** User 2024-02-28 10:27:32.847 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@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 2024-02-28 10:27:32.847 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='1adb9850fa902d4386fdffca709cbda8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-28 10:27:32.847 ***🔗
alicE_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq id='1adb9850fa902d4386fdffca709cbda8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-28 10:27:32.847 ***🔗
alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='39dd83bb6f810fe53a2ae67ba3c43bfb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:27:32.848 ***🔗
alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='39dd83bb6f810fe53a2ae67ba3c43bfb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:27:32.848 ***🔗
alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<presence/>



*** User 2024-02-28 10:27:32.914 ***🔗
alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<presence from='alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' to='alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1'/>



*** User 2024-02-28 10:27:32.914 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='5a6d9852e746f617abe946156c65d9a4'>
	<body>Test</body>
</message>



*** User 2024-02-28 10:27:32.916 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<message from='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' type='chat' id='5a6d9852e746f617abe946156c65d9a4'>
	<body>Test</body>
</message>



*** User 2024-02-28 10:27:32.916 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='fa6282be04a7b9af0594fb1d5a6970d3'>
	<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='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-02-28 10:27:32.917 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='fa6282be04a7b9af0594fb1d5a6970d3' 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-02-28 10:27:33.018 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='fa6282be04a7b9af0594fb1d5a6970d3'>
	<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='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-02-28 10:27:33.021 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='1709-116053-20257'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='fa6282be04a7b9af0594fb1d5a6970d3'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-02-28T10:27:32.914315Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='5a6d9852e746f617abe946156c65d9a4'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-02-28 10:27:33.021 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='fa6282be04a7b9af0594fb1d5a6970d3' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1709116052914315/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDc1QGRvbWFpbi5leGFtcGxlLmNvbQ==</first>
			<last>1709116052914315/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDc1QGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-02-28 10:27:33.021 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-02-28 10:27:33.021 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<message to='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='5a6d9852e746f617abe946156c65d9a4'/>
</message>



*** User 2024-02-28 10:27:33.021 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='d96b5e51c11b8c1395ee23116958fc98'>
	<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='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-02-28 10:27:33.023 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='1709-116053-23136'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='d96b5e51c11b8c1395ee23116958fc98'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-02-28T10:27:32.914315Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='5a6d9852e746f617abe946156c65d9a4'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-02-28 10:27:33.023 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='d96b5e51c11b8c1395ee23116958fc98' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1709116052914315/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDc1QGRvbWFpbi5leGFtcGxlLmNvbQ==</first>
			<last>1709116052914315/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDc1QGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-02-28 10:27:33.124 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='d96b5e51c11b8c1395ee23116958fc98'>
	<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='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-02-28 10:27:33.126 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='d96b5e51c11b8c1395ee23116958fc98' 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-02-28 10:27:33.126 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-02-28 10:27:33.126 ***🔗
alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<message type='chat' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='9e210105563a47dce9e1618726863b37'>
	<body>Test</body>
</message>



*** User 2024-02-28 10:27:33.129 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<message from='alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' type='chat' id='9e210105563a47dce9e1618726863b37'>
	<body>Test</body>
</message>



*** User 2024-02-28 10:27:33.129 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='fe0bce3d8b0d9bc13c1e68d4323ccde0'>
	<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='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-02-28 10:27:33.130 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='fe0bce3d8b0d9bc13c1e68d4323ccde0' 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-02-28 10:27:33.231 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='fe0bce3d8b0d9bc13c1e68d4323ccde0'>
	<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='text-single' var='hidden_read'>
				<value>true</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-02-28 10:27:33.233 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='1709-116053-233138'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='fe0bce3d8b0d9bc13c1e68d4323ccde0'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-02-28T10:27:33.127163Z'/>
			<message from='alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='9e210105563a47dce9e1618726863b37'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-02-28 10:27:33.234 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='fe0bce3d8b0d9bc13c1e68d4323ccde0' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1709116053127163/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQ3NUBkb21haW4uZXhhbXBsZS5jb20=</first>
			<last>1709116053127163/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQ3NUBkb21haW4uZXhhbXBsZS5jb20=</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-02-28 10:27:33.234 ***🔗
waiting for inbox_size is done in 100 miliseconds

*** User 2024-02-28 10:27:33.234 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
<iq type='set' id='20100609f3b5ac8af344cc940052613a'>
	<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='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2024-02-28 10:27:33.235 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='1709-116053-235245'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='20100609f3b5ac8af344cc940052613a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-02-28T10:27:33.127163Z'/>
			<message from='alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='9e210105563a47dce9e1618726863b37'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>false</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-02-28 10:27:33.236 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<message from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='1709-116053-235256'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='20100609f3b5ac8af344cc940052613a'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2024-02-28T10:27:32.914315Z'/>
			<message from='kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' type='chat' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='5a6d9852e746f617abe946156c65d9a4'>
				<body>Test</body>
			</message>
		</forwarded>
		<read>true</read>
		<box>inbox</box>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2024-02-28 10:27:33.236 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
<iq from='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com' to='mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1' id='20100609f3b5ac8af344cc940052613a' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first>1709116053127163/YWxpY2VfcmVzZXRfdW5yZWFkX2NvdW50ZXJfYW5kX3Nob3dfb25seV91bnJlYWRfMTQ3NUBkb21haW4uZXhhbXBsZS5jb20=</first>
			<last>1709116052914315/a2F0ZV9yZXNldF91bnJlYWRfY291bnRlcl9hbmRfc2hvd19vbmx5X3VucmVhZF8xNDc1QGRvbWFpbi5leGFtcGxlLmNvbQ==</last>
		</set>
		<active-conversations>1</active-conversations>
		<count>2</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2024-02-28 10:27:33.236 ***🔗
waiting for inbox_size is done in 0 miliseconds

*** User 2024-02-28 10:27:33.236 ***🔗
alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-28 10:27:33.236 ***🔗
alice_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-28 10:27:33.236 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-28 10:27:33.237 ***🔗
mike_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-28 10:27:33.237 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-28 10:27:33.237 ***🔗
kate_reset_unread_counter_and_show_only_unread_1475@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-28 10:27:33.239 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1788.html



=== Ended at 2024-02-28 10:27:33
=== successfully completed test case
=== === Returned value: ok