FIT: Insert in Sub-doc with value "{Mutation.CAS}" is treated as CAS value instead of a string

Description

Failing on: 6.6-release, 7.0-release, 7.1-stable, 7.2-stable

FIT Test com.couchbase.client.kv.subdoc.SubdocMutationTest.insertExpandMacroXattrDoNotFlag is failing with value mismatch for key "foo" in sub-doc. Test is inserting a sub-doc with key/value as "foo"/"{Mutation.CAS}" and expecting to get value of doc as ${Mutation.CAS} instead got CAS value.

Subdoc insert spec: 

 

insert {   path: "x.foo"   content {     content {       passthrough_string: "${Mutation.CAS}"     }   }   xattr: true }

 

 

Getting updated content as: 

{"foo":"0x0000f405c522be17"}

while in JAVA getting, 

{"foo":"${Mutation.CAS}"}

Performer Log: 

Listening on 0.0.0.0:8060 I, [2024-03-19T15:53:10.815462 #13581]  INFO -- : Using Ruby SDK version 3.4.5 I, [2024-03-19T15:57:38.476138 #13581]  INFO -- : disconnect_connections called I, [2024-03-19T15:57:38.494306 #13581]  INFO -- : performer_caps_fetch called I, [2024-03-19T15:57:38.543778 #13581]  INFO -- : cluster_connection_create called I, [2024-03-19T15:57:38.543903 #13581]  INFO -- : Creating connection using connection string `couchbase://172.23.111.133` (ID = defaultClusterConnection_755d44b1-9bba-47ce-b096-591f1c009601) I, [2024-03-19T15:58:05.910130 #13581]  INFO -- : ====== Test file: Start ====== I, [2024-03-19T15:58:06.922160 #13581]  INFO -- : ====== java.util.stream.Stream com.couchbase.client.kv.subdoc.SubdocMutationTest.insertExpandMacroXattrDoNotFlag():insertExpandMacroXattrDoNotFlag(): testStart ====== I, [2024-03-19T15:58:07.034728 #13581]  INFO -- : run called I, [2024-03-19T15:58:07.035078 #13581]  INFO -- : Created the workload executor I, [2024-03-19T15:58:07.035129 #13581]  INFO -- : Created the request executor I, [2024-03-19T15:58:07.035233 #13581]  INFO -- : Executing the request I, [2024-03-19T15:58:08.916606 #13581]  INFO -- : All streams from run 87e7d43e-0abd-45f6-872b-34e2db45540b have finished I, [2024-03-19T15:58:08.977332 #13581]  INFO -- : run called I, [2024-03-19T15:58:08.977668 #13581]  INFO -- : Created the workload executor I, [2024-03-19T15:58:08.977700 #13581]  INFO -- : Created the request executor I, [2024-03-19T15:58:08.977829 #13581]  INFO -- : Executing the request I, [2024-03-19T15:58:09.261274 #13581]  INFO -- : All streams from run 49d67a91-844e-4a9e-b5c2-cacbd6326834 have finished I, [2024-03-19T15:58:09.660424 #13581]  INFO -- : ====== java.util.stream.Stream com.couchbase.client.kv.subdoc.SubdocMutationTest.insertExpandMacroXattrDoNotFlag():insertExpandMacroXattrDoNotFlag(): testEnd ====== I, [2024-03-19T15:58:09.667827 #13581]  INFO -- : ====== Test file: End ======

Environment

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Sprint

Story Points

Priority

Instabug

Open Instabug

Sentry

Zendesk Support

Created March 19, 2024 at 10:18 AM
Updated April 22, 2024 at 3:20 PM
Resolved April 22, 2024 at 3:20 PM
Instabug