Sha256: 6fdb74bb79adea8f43e28fe5bd03f9cb80f51a33533cf6af38f9e090c9ed610d

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 KB

Contents

description: "Secondary wrong setName with primary"

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

phases: [

    {
        responses: [

                ["a:27017", {

                    ok: 1,
                    ismaster: true,
                    hosts: ["a", "b"],
                    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", "b"],
                    setName: "wrong"
                }]
        ],

        outcome: {

            servers: {

                "a:27017": {

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mongo-2.0.5 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.4 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.3 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.2 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.1 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.0 spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.0.rc spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml
mongo-2.0.0.beta spec/support/sdam/rs/secondary_wrong_set_name_with_primary.yml