Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly empty DB updates feed produces error #929

Open
flimzy opened this issue Apr 8, 2024 · 0 comments
Open

Possibly empty DB updates feed produces error #929

flimzy opened this issue Apr 8, 2024 · 0 comments

Comments

@flimzy
Copy link
Member

flimzy commented Apr 8, 2024

--- FAIL: TestCouch23 (78.90s)
    test.go:410: Connecting to http:https://admin:[email protected]:5984/ ...
    test.go:417: Connecting to http:https://couch2.3.1:5984/ ...
    --- FAIL: TestCouch23/DBUpdates (60.01s)
        --- FAIL: TestCouch23/DBUpdates/RW (0.00s)
            --- FAIL: TestCouch23/DBUpdates/RW/Admin (60.01s)
                updates.go:44: Unexpected failure: 502/kivik: unexpected JSON token "last_seq" in feed response, expected `db_name` or `results`
FAIL
FAIL	github.com/go-kivik/kivik/v4/couchdb/test	78.920s

My theory is this happens when the db updates feed is empty. last_seq is a valid top-level key—are we getting it when there are no results? Needs to be verified, and then possiblyfixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant