Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4561

Several prose tests are not running for Initial DNS Seedlist Discovery

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      MONGOC_TEST_DNS_SRV_POLLING is not set when running DNS tests causing the tests which check test_dns_check_srv_polling to be skipped.

      Please see the tests here: https://github.com/mongodb/mongo-c-driver/blob/master/src/libmongoc/tests/test-mongoc-dns.c#L1265-L1328

      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true, seed 3380682683
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/loadBalanced-directConnection, seed 1350659874
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/loadBalanced-directConnection" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/loadBalanced-no-results, seed 205588166
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/loadBalanced-no-results" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt, seed 3243202413
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/loadBalanced-true-txt, seed 3323842751
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/loadBalanced-true-txt" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-zero-txt, seed 850184188
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-zero-txt" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/loadBalanced-replicaSet-errors, seed 999327246
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/loadBalanced-replicaSet-errors" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/loadBalanced-true-multiple-hosts, seed 452130915
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/loadBalanced-true-multiple-hosts" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-zero, seed 2271142281
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/load-balanced/srvMaxHosts-zero" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/sharded/srvMaxHosts-greater_than_srv_records, seed 762778286
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/sharded/srvMaxHosts-greater_than_srv_records" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/sharded/srvMaxHosts-less_than_srv_records, seed 3136863364
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/sharded/srvMaxHosts-less_than_srv_records" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/sharded/srvMaxHosts-invalid_integer, seed 2834536979
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/sharded/srvMaxHosts-invalid_integer" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/sharded/srvMaxHosts-zero, seed 4113483512
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/sharded/srvMaxHosts-zero" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/sharded/srvMaxHosts-equal_to_srv_records, seed 3522108155
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/sharded/srvMaxHosts-equal_to_srv_records" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/sharded/srvMaxHosts-invalid_type, seed 2802351299
      [2023/01/23 20:23:59.558]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/sharded/srvMaxHosts-invalid_type" },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/srv_polling/mocked, seed 342134569
      [2023/01/23 20:23:59.558]     { "status": "pass", "test_file": "/initial_dns_seedlist_discovery/srv_polling/mocked", "seed": "342134569", "start": 3909.280927, "end": 3909.281081, "elapsed": 0.000154  },
      [2023/01/23 20:23:59.558] Begin /initial_dns_seedlist_discovery/small_initial_buffer, seed 823679554
      [2023/01/23 20:23:59.583]     { "status": "pass", "test_file": "/initial_dns_seedlist_discovery/small_initial_buffer", "seed": "823679554", "start": 3909.281107, "end": 3909.305443, "elapsed": 0.024336  },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_9/single, seed 2666596365
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_9/single" },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_9/pooled, seed 2856598036
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_9/pooled" },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_10/single, seed 3846584941
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_10/single" },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_10/pooled, seed 1086232745
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_10/pooled" },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_11/single, seed 474013663
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_11/single" },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_11/pooled, seed 797061113
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_11/pooled" },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_12/single, seed 2565540718
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_12/single" },
      [2023/01/23 20:23:59.583] Begin /initial_dns_seedlist_discovery/srv_polling/prose_test_12/pooled, seed 1027663582
      [2023/01/23 20:23:59.583]     { "status": "skip", "test_file": "/initial_dns_seedlist_discovery/srv_polling/prose_test_12/pooled" }
      [2023/01/23 20:23:59.585]   ]
      [2023/01/23 20:23:59.585] }
      

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            kyle.kloberdanz@mongodb.com Kyle Kloberdanz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: