This commit is contained in:
withchao
2023-03-23 10:39:03 +08:00
parent 3ea2128b93
commit 2564c2f06e
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func TestDeleteMongoMsgAndResetRedisSeq(t *testing.T) {
mongoClient := mgo.GetDatabase().Collection(unRelationTb.MsgDocModel{}.TableName())
ctx := context.Background()
mcontext.SetOperationID(ctx, operationID)
ctx = mcontext.SetOperationID(ctx, operationID)
testUID1 := "test_del_id1"
_, err = mongoClient.DeleteOne(ctx, bson.M{"uid": testUID1 + ":" + strconv.Itoa(0)})
if err != nil {