=== Test case: graphql_mnesia_SUITE:install_fallback_error_test/1 (click for source code) === Config value: [{protocol,http}, {schema_endpoint,admin}, {listener_opts,#{module => mongoose_graphql_handler, path => "/api/graphql",host => "localhost", username => <<"admin">>,password => <<"secret">>, schema_endpoint => admin}}, {watchdog,<0.31358.0>}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"pgsql_cets"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_mnesia_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.graphql_mnesia_SUITE.logs/run.2023-11-13_19.02.34/graphql_mnesia_suite.install_fallback_error_test.57347.html"}, {tc_group_properties,[{name,admin_mnesia_http},sequence]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_mnesia_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.graphql_mnesia_SUITE.logs/run.2023-11-13_19.02.34/log_private/"}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12" === Started at 2023-11-13 19:02:53
*** User 2023-11-13 19:02:53.596 ***🔗 REST request: Code: 200 Req: {<0.31614.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"1db1a31a1068c005">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"path\":\"AAAA\"},\"query\":\"mutation ($path: String!) { mnesia { installFallback(path: $path) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 13 Nov 2023 19:02:53 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"431">>}], <<"{\"errors\":[{\"path\":[\"mnesia\",\"installFallback\"],\"message\":\"Can't install fallback from \\\"/home/circleci/project/_build/mim1/rel/mongooseim/AAAA\\\" at node mongooseim@localhost: {\\\"Cannot install fallback\\\",\\n enoent}\",\"extensions\":{\"path\":\"AAAA\",\"code\":\"cannot_fallback\"}}],\"data\":{\"mnesia\":{\"installFallback\":null}}}">>, 570,754} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, body => <<"{\"variables\":{\"path\":\"AAAA\"},\"query\":\"mutation ($path: String!) { mnesia { installFallback(path: $path) } }\"}">>, role => {graphql,admin}, creds => {<<"admin">>,<<"secret">>}, return_maps => true,return_headers => true}
=== Ended at 2023-11-13 19:02:53 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result