=== Test case: graphql_mnesia_SUITE:backup_and_restore_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,sse_idle_timeout => 3600000}}, {watchdog,<0.31579.0>}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"mysql_redis"}, {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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.graphql_mnesia_SUITE.logs/run.2024-01-14_19.45.09/graphql_mnesia_suite.backup_and_restore_test.65282.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@eebaa68b7995.2024-01-14_19.39.51/big_tests.tests.graphql_mnesia_SUITE.logs/run.2024-01-14_19.45.09/log_private/"}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@eebaa68b7995.2024-01-14_19.39.51" === Started at 2024-01-14 19:45:18
*** User 2024-01-14 19:45:18.223 ***🔗 REST request: Code: 200 Req: {<0.31635.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"399d0ff75d6a97d9">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"path\":\"backup_restore_mnesia_test\"},\"query\":\"mutation ($path: String!) { mnesia { backup(path: $path) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Sun, 14 Jan 2024 19:45:17 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"71">>}], <<"{\"data\":{\"mnesia\":{\"backup\":\"Mnesia backup was successfully created\"}}}">>, 209,2109} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, body => <<"{\"variables\":{\"path\":\"backup_restore_mnesia_test\"},\"query\":\"mutation ($path: String!) { mnesia { backup(path: $path) } }\"}">>, method => <<"POST">>, creds => {<<"admin">>,<<"secret">>}, role => {graphql,admin}, return_maps => true,return_headers => true}
*** User 2024-01-14 19:45:18.226 ***🔗 REST request: Code: 200 Req: {<0.31637.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"8e5dc95a4f862f15">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"path\":\"backup_restore_mnesia_test\"},\"query\":\"mutation ($path: String!) { mnesia { restore(path: $path) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Sun, 14 Jan 2024 19:45:17 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"66">>}], <<"{\"data\":{\"mnesia\":{\"restore\":\"Mnesia was successfully restored\"}}}">>, 204,1239} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, body => <<"{\"variables\":{\"path\":\"backup_restore_mnesia_test\"},\"query\":\"mutation ($path: String!) { mnesia { restore(path: $path) } }\"}">>, method => <<"POST">>, creds => {<<"admin">>,<<"secret">>}, role => {graphql,admin}, return_maps => true,return_headers => true}
=== Ended at 2024-01-14 19:45:18 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result