=== Test case: graphql_cets_SUITE:joined_nodes/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">>,
                      sse_idle_timeout => 3600000,schema_endpoint => admin}},
     {watchdog,<0.31211.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_cets_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b840ae5a4cd1.2024-03-11_11.24.34/big_tests.tests.graphql_cets_SUITE.logs/run.2024-03-11_11.29.56/graphql_cets_suite.joined_nodes.31876.html"},
     {tc_group_properties,[{name,admin_cets_http},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_cets_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@b840ae5a4cd1.2024-03-11_11.24.34/big_tests.tests.graphql_cets_SUITE.logs/run.2024-03-11_11.29.56/log_private/"},
     {require,{hosts,mim,node}},
     {require,{hosts,mim2,node}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b840ae5a4cd1.2024-03-11_11.24.34"

=== Started at 2024-03-11 11:29:59


*** CT 2024-03-11 11:29:59.433 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1745.html

*** User 2024-03-11 11:29:59.442 ***🔗
REST request:
Code: 200
Req: {<0.31284.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"75ade69ece0c4d95">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{},\"query\":\"query { cets { systemInfo { availableNodes conflictNodes conflictTables discoveredNodes discoveryWorks joinedNodes remoteMissingTables remoteNodesWithMissingTables remoteNodesWithUnknownTables remoteNodesWithoutDisco remoteUnknownTables unavailableNodes } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:29:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"571">>}],
         <<"{\"data\":{\"cets\":{\"systemInfo\":{\"unavailableNodes\":[\"badnode@localhost\"],\"remoteUnknownTables\":[],\"remoteNodesWithoutDisco\":[],\"remoteNodesWithUnknownTables\":[],\"remoteNodesWithMissingTables\":[],\"remoteMissingTables\":[],\"joinedNodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"discoveryWorks\":true,\"discoveredNodes\":[\"badnode@localhost\",\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"conflictTables\":[],\"conflictNodes\":[],\"availableNodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"]}}}}">>,
         710,1435}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{},\"query\":\"query { cets { systemInfo { availableNodes conflictNodes conflictTables discoveredNodes discoveryWorks joinedNodes remoteMissingTables remoteNodesWithMissingTables remoteNodesWithUnknownTables remoteNodesWithoutDisco remoteUnknownTables unavailableNodes } } }\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,
          role => {graphql,admin},
          return_maps => true,return_headers => true}

*** CT 2024-03-11 11:29:59.453 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1745.html



=== Ended at 2024-03-11 11:29:59
=== successfully completed test case
=== === Returned value: false