Skip to content

TestPageBufferReader2 test is flaky #1197

Closed
@jarifibrahim

Description

Travis build randomly fails with

=== RUN   TestPagebufferReader2
--- FAIL: TestPagebufferReader2 (0.00s)
    y_test.go:185: 
        	Error Trace:	y_test.go:185
        	Error:      	Received unexpected error:
        	            	EOF
        	Test:       	TestPagebufferReader2
        	Messages:   	unable to read error
=== RUN   TestPagebufferReader3
--- PASS: TestPagebufferReader3 (0.00s)
=== RUN   TestPagebufferReader4
--- PASS: TestPagebufferReader4 (0.00s)
FAIL
coverage: 19.9% of statements
FAIL	github.com/dgraph-io/badger/y	0.022s

see https://travis-ci.org/dgraph-io/badger/jobs/636936684#L9192

I've seen the test fail multiple times on various PRs.

Metadata

Assignees

No one assigned

    Labels

    area/testingTesting related issueskind/enhancementSomething could be better.status/needs-attentionThis issue needs more eyes on it, more investigation might be required before accepting/rejecting it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions