Re: Running 1.x-era JavaScript tests against master

2015-08-21 Thread Sebastian Rothbucher
Hi Will, that does indeed help a lot - thanks for that! Although I did start w/ 1st tests (see https://github.com/apache/couchdb/compare/master...sebastianrothbucher: clustertest) , there is still plenty of work 2 do... Cheers Sebastian On Wed, Apr 8, 2015 at 10:06 PM, Will Holley wrote: > I

Re: Running 1.x-era JavaScript tests against master

2015-04-08 Thread Will Holley
It's probably easier to configure the cluster with n=1 rather than change write quorum on a per-request basis. This was the approach we took with the PouchDB tests and it worked well (as a first step, at least). Will On 8 Apr 2015 20:26, "Sebastian Rothbucher" < sebastianrothbuc...@googlemail.com>

Re: Running 1.x-era JavaScript tests against master

2015-04-08 Thread Sebastian Rothbucher
Hi, went a little further - and it could become a bumpy ride (see https://github.com/apache/couchdb/compare/master...sebastianrothbucher:clustertest) for how it got so far: - you have to use full write quorum (e.g. via query param), otherwise you'll end up with lots of Heisenbugs (because you migh

Re: Running 1.x-era JavaScript tests against master

2015-04-01 Thread Sebastian Rothbucher
Hi Jan, I tried just that but there is lots of work to do. Maybe it's just minor, but the tests assume a lot which a normal user does not necessarily do, they depend on time, etc. First attempt for others 2 try also: https://github.com/apache/couchdb/compare/master...sebastianrothbucher:clustertes

Re: Running 1.x-era JavaScript tests against master

2015-04-01 Thread Alexander Shorin
Hi Jan! Idea is really good one - this is the way I found that 2.0 doesn't support multipart/* Accept against document resources. I think there is nothing to feedback, need just run it and sort the positive fails from negative ones. -- ,,,^..^,,, On Wed, Apr 1, 2015 at 11:26 PM, Jan Lehnardt w

Re: Running 1.x-era JavaScript tests against master

2015-04-01 Thread Jan Lehnardt
Heya, bumping this as I’d love to get some feedback on the idea :) Thanks! Jan -- > On 18 Mar 2015, at 22:24, Jan Lehnardt wrote: > > Hi all, > > I’m concerned about people upgrading from 1.x to 2.0 and finding that > a number of small things are subtly broken. > > I propose we figure out ho

Running 1.x-era JavaScript tests against master

2015-03-18 Thread Jan Lehnardt
Hi all, I’m concerned about people upgrading from 1.x to 2.0 and finding that a number of small things are subtly broken. I propose we figure out how to run the JavaScript test suite against the clustered port in master, as they are a decent approximation of what 1.x clients expect. There will b