*(dnsforward): replaced old search with the new one

This commit is contained in:
Andrey Meshkov
2020-02-21 01:07:30 +03:00
parent 90f2c18353
commit 696a6df6ba
8 changed files with 481 additions and 773 deletions

View File

@@ -122,7 +122,7 @@ func TestQLogReaderSeek(t *testing.T) {
// CASE 6: Seek non-existent (too high)
ts, _ := time.Parse(time.RFC3339, "2100-01-02T15:04:05Z07:00")
err = r.Seek(uint64(ts.UnixNano()))
err = r.Seek(ts.UnixNano())
assert.NotNil(t, err)
}