Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
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.
The class EnyimMemcached\MemcachedTest\VBucketTest.cs initializes VBucket with only two arguments, that leads to compile time error.
Activity
Saakshi Manocha
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | In Progress [ 3 ] |
Saakshi Manocha
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
- 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})
};
with
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)
};