Couchbase 6.5, Java SDK 3.0 - Upsert/Insert "RequestCanceledError " reason: "SHUTDOWN" received during automated test execution

Environment:
Couchbase Server: 6.5
Java SDK: 3.0
Java language level: 2.11

Description: Since migrating from Java SDK 2.7 to SDK 3.0, receiving intermittent “upsert” and “insert” errors during the execution of a large suite (300) of automated test cases. Errors do NOT occur when the failing
test cases are executed individually. Any assistance is appreciated. Error text:

query exception, cause: com.couchbase.client.core.error.Requ
estCanceledException: InsertRequest {“cancelled”:true,“completed”:true,“coreId”:1,“idempotent”:false,“reason”:“SHUTDOWN”
,“requestId”:56,“requestType”:“InsertRequest”,“retried”:0,“service”:{“bucket”:“knowledge”,“collection”:"_default",“docum
entId”:“211120220017”,“opaque”:“0x42”,“scope”:"_default",“syncDurability”:{“empty”:true,“present”:false},“type”:“kv”},“t
imeoutMs”:5000,“timings”:{“encodingMicros”:158,“totalMicros”:1690}

query exception, cause: com.couchbase.client.core.error.Requ
estCanceledException: UpsertRequest {“cancelled”:true,“completed”:true,“coreId”:1,“idempotent”:false,“reason”:“SHUTDOWN”
,“requestId”:810,“requestType”:“UpsertRequest”,“retried”:0,“service”:{“bucket”:“knowledge”,“collection”:"_default",“docu
mentId”:“50c893d0-816a-4079-9373-9a2328b653f2”,“opaque”:“0x1ff”,“scope”:"_default",“syncDurability”:{“empty”:false,“pres
ent”:true},“type”:“kv”},“timeoutMs”:10000,“timings”:{“encodingMicros”:87,“totalMicros”:251}}

Your request is cancelled because the client is already shutdown. Can you show the code how you bootstrap and shutdown the client? We recommend spawning the client on startup and then reusing until the app shuts down. Make sure you do not perform further op after the client is shut down.

Fixed! Thanks for your assistance.

Good to know! Glad you got it sorted.

Hi @larrylavery ,
I;ve found same issue.
Can you tell me how to resolve this?