Sha256: a89b5179f6928166b631fac006942243dd638c1df84b89acba7b7b0f3149964b

Contents?: true

Size: 1.26 KB

Versions: 30

Compression:

Stored size: 1.26 KB

Contents

description: "Secondary wrong setName with primary"

uri: "mongodb://a,b/?replicaSet=rs"

phases: [

    {
        responses: [

                ["a:27017", {

                    ok: 1,
                    ismaster: true,
                    hosts: ["a:27017", "b:27017"],
                    setName: "rs"
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "RSPrimary",
                    setName: "rs"
                },

                "b:27017": {

                    type: "Unknown",
                    setName:
                }
            },

            topologyType: "ReplicaSetWithPrimary",
            setName: "rs"
        }
    },

    {
        responses: [

                ["b:27017", {

                    ok: 1,
                    ismaster: false,
                    secondary: true,
                    hosts: ["a:27017", "b:27017"],
                    setName: "wrong"
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

                    type: "RSPrimary",
                    setName: "rs"
                }
            },

            topologyType: "ReplicaSetWithPrimary",
            setName: "rs"
        }
    }
]

Version data entries

30 entries across 27 versions & 3 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/mongo-2.2.1/spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.2.1 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.2.0 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.2.0.rc0 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.1.2 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.1.1 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.1.0 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.1.0.rc0 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.1.0.beta spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.6 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml