mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-25 10:26:22 -06:00
Enhance TestValidatingBatchingSinkPrepare (#2705)
The test now actually validates that processing the provided hints populates the VBS' chunk cache
This commit is contained in:
@@ -28,7 +28,9 @@ func TestValidatingBatchingSinkPrepare(t *testing.T) {
|
||||
|
||||
vbs := NewValidatingBatchingSink(cs)
|
||||
vbs.Prepare(hints)
|
||||
assert.Equal(t, 5, cs.Reads)
|
||||
for h := range hints {
|
||||
vbs.vs.isPresent(h)
|
||||
}
|
||||
}
|
||||
|
||||
func TestValidatingBatchingSinkDecode(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user