[NCBC-169] Compile time error in MemcachedTest project - VBucket constructor now takes 3 parameters Created: 30/Nov/12  Updated: 04/Dec/12  Resolved: 04/Dec/12

Status: Resolved
Project: Couchbase .NET client library
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Saakshi Manocha Assignee: Saakshi Manocha
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

VBucket constructor now takes a third parameter - index.
The class EnyimMemcached\MemcachedTest\VBucketTest.cs initializes VBucket with only two arguments, that leads to compile time error.

Comment by Saakshi Manocha [ 30/Nov/12 ]
- Forked the reporsitory from Couchbase\Enyimmemcached.
- Added third parameter 'index' while initializing VBucket.
- Committed and pushed changes into forked repository.
- Send a pull request to master repository for review and merge.

Change done:
- File changed: EnyimMemcached\MemcachedTest\VBucketTest.cs
- Replaced the following:

private VBucket[] buckets = new[]
new VBucket(0, new[] {1, 2}),
new VBucket(1, new[] {2, 0}),
new VBucket(2, new[] {1, -1}),
new VBucket(1, new[] {2, 0})


private VBucket[] buckets = new[]
new VBucket(0, new[] {1, 2}, 0),
new VBucket(1, new[] {2, 0}, 1),
new VBucket(2, new[] {1, -1}, 2),
new VBucket(1, new[] {2, 0}, 3)

Comment by Saakshi Manocha [ 04/Dec/12 ]
change merged with master repository
Generated at Sun Nov 23 06:28:19 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.