Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
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.
Environment
None
Gerrit Reviews
None
Release Notes Description
None
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
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.