Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
1
-
SDK04: Scope Search
Description
For test SearchIndexManagerTest.dropIndexThrowsIndexNotFound, in GO, we are getting different error message then expected:
exception {
|
couchbase {
|
name: "IndexNotFoundException" |
type: SDK_INDEX_NOT_FOUND_EXCEPTION
|
serialized: "com.couchbase.client.core.error.IndexNotFoundException: Index not found {\"completed\":true,\"coreId\":\"0x77270d7e00000001\",\"httpBody\":\"{\\\"error\\\":\\\"rest_auth: preparePerms, err: index not found\\\",\\\"request\\\":\\\"\\\",\\\"status\\\":\\\"fail\\\"}\\n\",\"httpStatus\":400,\"idempotent\":false,\"lastDispatchedFrom\":\"10.100.195.85:62685\",\"lastDispatchedTo\":\"172.23.111.130:8094\",\"requestId\":8,\"requestType\":\"CoreHttpRequest\",\"retried\":0,\"service\":{\"method\":\"DELETE\",\"path\":\"/api/bucket/default/scope/fts_scope_daa429/index/this-index-does-not-exist\",\"type\":\"search\"},\"status\":\"INVALID_ARGS\",\"timeoutMs\":75000,\"timings\":{\"dispatchMicros\":275846,\"totalDispatchMicros\":275846,\"totalMicros\":570966}}" |
}
|
}
|
actual:
exception {
|
other {
|
serialized: "failed to drop the index | {\"endpoint\":\"http://172.23.111.132:8094\",\"error_text\":\"{\\\"error\\\":\\\"rest_auth: preparePerms, err: index not found\\\",\\\"request\\\":\\\"\\\",\\\"status\\\":\\\"fail\\\"}\\n\",\"status_code\":400}" |
}
|
}
|
Related conversation: On Slack