Commit c6fb3045 authored by Lucas Molas's avatar Lucas Molas

test: testLargeWriteChunks: seek before reading

License: MIT
Signed-off-by: default avatarLucas Molas <schomatis@gmail.com>
parent ec61e06c
......@@ -323,6 +323,11 @@ func testLargeWriteChunks(t *testing.T, opts testu.NodeOpts) {
}
}
_, err = dagmod.Seek(0, io.SeekStart)
if err != nil {
t.Fatal(err)
}
out, err := ioutil.ReadAll(dagmod)
if err != nil {
t.Fatal(err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment