mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
test: correct concurrent benchmark extraction
This commit is contained in:
1 parent
192308a102
commit
afdead8ad9
1 file changed
-1
@@ -74,7 +74,6 @@ func BenchmarkConcurrentBackendSync(b *testing.B) {
|
||||
if post.BackendSyncOps-profile.BackendSyncOps != n {
|
||||
b.Fatal("Sync count changed")
|
||||
}
|
||||
}
|
||||
for w := 0; w < qd; w++ {
|
||||
got := make([]byte, 4096)
|
||||
if _, err := backend.Read(context.Background(), int64(w)*4096, got); err != nil || !bytes.Equal(got, bytes.Repeat([]byte{byte(w + 1)}, 4096)) {
|
||||
|
||||
Reference in new issue
Block a user