Description
It looks like CNG does not accept zero as an empty CAS value:
Grpc.Core.RpcException
|
Status(StatusCode="InvalidArgument", Detail="CAS value cannot be zero.")
|
at Couchbase.Stellar.KeyValue.StellarCollection.RemoveAsync(String id, RemoveOptions options) in /Users/jeffry.morris/Documents/source/couchbase-net-client/src/Couchbase/Stellar/KeyValue/StellarCollection.cs:line 257
|
at Couchbase.Stellar.CombinationTests.KeyValue.StellarKvTests.Exists() in /Users/jeffry.morris/Documents/source/couchbase-net-client/tests/Couchbase.Stellar.CombinationTests/KeyValue/StellarKvTests.cs:line 37
|
at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 264
|
--- End of stack trace from previous location ---
|
at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48
|
at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 90
|
The Couchbase.Stellar.CombinationTests/KeyValue/StellarKvTests.cs were red because of this bug.
Attachments
For Gerrit Dashboard: NCBC-3602 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
203798,6 | NCBC-3602: Remove Error- CAS value cannot be zero | master | couchbase-net-client | Status: MERGED | +2 | +1 |