mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-04 19:32:17 +08:00
refactor: delete message and message batch use lua.
This commit is contained in:
parent
49b344ce35
commit
2e87192c4a
6
pkg/common/storage/cache/redis/msg_test.go
vendored
6
pkg/common/storage/cache/redis/msg_test.go
vendored
@ -90,9 +90,9 @@ func Test_msgCache_GetMessagesBySeq(t *testing.T) {
|
||||
fmt.Println("Test_msgCache_GetMessagesBySeq err", err)
|
||||
}
|
||||
fmt.Println("Test_msgCache_GetMessagesBySeq result is ", gotSeqMsgs, gotFailedSeqs)
|
||||
//if !tt.wantErr(t, err, fmt.Sprintf("GetMessagesBySeq(%v, %v, %v)", tt.args.ctx, tt.args.conversationID, tt.args.seqs)) {
|
||||
// return
|
||||
//}
|
||||
if !tt.wantErr(t, err, fmt.Sprintf("GetMessagesBySeq(%v, %v, %v)", tt.args.ctx, tt.args.conversationID, tt.args.seqs)) {
|
||||
return
|
||||
}
|
||||
//assert.Equalf(t, tt.wantSeqMsgs, gotSeqMsgs, "GetMessagesBySeq(%v, %v, %v)", tt.args.ctx, tt.args.conversationID, tt.args.seqs)
|
||||
//assert.Equalf(t, tt.wantFailedSeqs, gotFailedSeqs, "GetMessagesBySeq(%v, %v, %v)", tt.args.ctx, tt.args.conversationID, tt.args.seqs)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user