You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I found this TC fails when using memdb, but it passes when using mongoDB. (main branch)
CI cannot detect it because its using mongoDB when testing.
--- FAIL: TestDocumentWithProjects (0.65s)
--- FAIL: TestDocumentWithProjects/includeSnapshot_test (0.01s)
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
goroutine 4213 [running]:
testing.tRunner.func1.2({0x101ec9e00, 0xc002597f50})
/opt/homebrew/Cellar/go/1.23.0/libexec/src/testing/testing.go:1632 +0x2c4
testing.tRunner.func1()
/opt/homebrew/Cellar/go/1.23.0/libexec/src/testing/testing.go:1635 +0x47c
panic({0x101ec9e00?, 0xc002597f50?})
/opt/homebrew/Cellar/go/1.23.0/libexec/src/runtime/panic.go:785 +0x124
github.com/yorkie-team/yorkie/test/integration.TestDocumentWithProjects.func3(0xc0025a6340)
/Users/user/Documents/yorkie/test/integration/document_test.go:828 +0x3b8
testing.tRunner(0xc0025a6340, 0xc003903500)
/opt/homebrew/Cellar/go/1.23.0/libexec/src/testing/testing.go:1690 +0x188
created by testing.(*T).Run in goroutine 4062
/opt/homebrew/Cellar/go/1.23.0/libexec/src/testing/testing.go:1743 +0x5e4
FAIL github.com/yorkie-team/yorkie/test/integration 26.292s
FAIL
make: *** [test] Error 1
Why:
The text was updated successfully, but these errors were encountered:
Unlike MongoDB, memDB does not apply any specific logic to set a limit. Currently, the implementation in memDB stops iteration when len(docInfo) is greater than or equal to PageSize.
Description:
I found this TC fails when using memdb, but it passes when using mongoDB. (
main
branch)CI cannot detect it because its using mongoDB when testing.
Why:
The text was updated successfully, but these errors were encountered: