couchbaselabs / sync-gateway-tests

Sync Gateway Functional Tests
3 stars 2 forks source link

Run integration tests against Sync Gateway 1.2 in distributed index mode #66

Closed tleyden closed 8 years ago

tleyden commented 8 years ago

@ashvindersingh -- can you try it with this config

I did a smoke test locally -- results

tleyden commented 8 years ago

This is the parameter which allows "mixed mode":

https://gist.github.com/tleyden/5c1b7b23d5f22d40ec38#file-gistfile1-txt-L6

zgramana commented 8 years ago

@sethrosetter is going to pick this up opportunistically.

sethrosetter commented 8 years ago

Using config

crossed out lines currently target custom config and have not been run in distributed index mode

{
    "log": ["CRUD", "REST+", "CHANGES"],
    "skip_runmode_validation" : true,
    "cluster_config": {
        "server":"http://localhost:8091",
        "data_dir":".",
        "bucket":"db"
    },
    "databases": {
        "db": {
            "feed_type":"DCPSHARD",
            "server": "http://localhost:8091",
            "bucket":"db",
            "sync": `
function(doc){
    channel(doc.channels);
}`,
            "users": {
                "GUEST": {"disabled": false, "admin_channels": ["*"] }
            },
            "channel_index":{
                "server":"http://localhost:8091",
                "bucket":"db-index",
                "writer":true
            }
        }
    }
}

Tests to run in tests/.

Against sync_gateway eb6fd2159ae5ffba1b40c76261540768f2a13fbb

Against sync_gateway 4be9943340a09d84a355708be921deaa57a8d2d9

sethrosetter commented 8 years ago

I completed a pass locally. https://github.com/couchbase/sync_gateway/issues/1532 is closed as invalid and https://github.com/couchbase/sync_gateway/issues/1523 is marked for fix in 1.3

sethrosetter commented 8 years ago

@ashvindersingh got these running in Jenkins. Do you mind posting your results?

ashvindersingh commented 8 years ago

http://qa.sc.couchbase.com/view/mobile/job/mobile-integration-tests-cbserver-sync-gateway-cblitios-liteserv/13/