=== Test case: service_domain_db_SUITE:cli_cannot_insert_domain_twice_with_another_host_type/1 (click for source code)

=== Config value:

    [{service,true},
     {watchdog,<0.1269.2>},
     {mim_conf1,#{core_opts =>
                      [[{<<"localhost">>,<<"localhost">>},
                        {<<"anonymous.localhost">>,<<"anonymous.localhost">>},
                        {<<"localhost.bis">>,<<"localhost.bis">>}],
                       [<<"test type">>,<<"dummy auth">>,<<"anonymous">>]],
                  loaded => true,service_opts => []}},
     {mim_conf2,#{core_opts =>
                      [[{<<"localhost">>,<<"localhost">>},
                        {<<"anonymous.localhost">>,<<"anonymous.localhost">>},
                        {<<"localhost.bis">>,<<"localhost.bis">>}],
                       [<<"test type">>,<<"dummy auth">>]],
                  loaded => true,service_opts => []}},
     {mim_conf3,#{core_opts =>
                      [[{<<"localhost">>,<<"localhost">>},
                        {<<"anonymous.localhost">>,<<"anonymous.localhost">>},
                        {<<"localhost.bis">>,<<"localhost.bis">>}],
                       []],
                  loaded => true,service_opts => []}},
     {service_setup,per_testcase},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/service_domain_db_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.service_domain_db_SUITE.logs/run.2022-03-18_10.58.56/service_domain_db_suite.cli_cannot_insert_domain_twice_with_another_host_type.html"},
     {tc_group_properties,[{name,db}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/service_domain_db_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.service_domain_db_SUITE.logs/run.2022-03-18_10.58.56/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"dummy auth">>},#{}}]

=== 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:59:06


*** CT 2022-03-18 10:59:06.303 *** View log from node mongooseim@localhost when started mongooseim@localhost_1938.html
*** CT 2022-03-18 10:59:06.303 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_542.html

*** User 2022-03-18 10:59:06.519 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  insert_domain example.db type1
Result "Added\n"
ExitStatus 0

*** User 2022-03-18 10:59:06.713 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  insert_domain example.db type2
Result "Error: \"Domain already exists\"\n"
ExitStatus 1
*** CT 2022-03-18 10:59:06.722 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_542.html
*** CT 2022-03-18 10:59:06.722 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1938.html



=== Ended at 2022-03-18 10:59:06
=== successfully completed test case
=== === Returned value: {"Error: \"Domain already exists\"\n",1}


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