...

Text file src/go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/load-balanced/loadBalanced-directConnection.yml

Documentation: go.mongodb.org/mongo-driver/testdata/initial-dns-seedlist-discovery/load-balanced

     1# The TXT record for test24.test.build.10gen.cc contains loadBalanced=true.
     2# DRIVERS-1721 introduced this test as passing.
     3uri: "mongodb+srv://test24.test.build.10gen.cc/?directConnection=false"
     4seeds:
     5    - localhost.test.build.10gen.cc:8000
     6hosts:
     7    # In LB mode, the driver does not do server discovery, so the hostname does
     8    # not get resolved to localhost:8000.
     9    - localhost.test.build.10gen.cc:8000
    10options:
    11    loadBalanced: true
    12    ssl: true
    13    directConnection: false
    14ping: true

View as plain text