aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/assign_file_id_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/operation/assign_file_id_test.go')
-rw-r--r--weed/operation/assign_file_id_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/assign_file_id_test.go b/weed/operation/assign_file_id_test.go
index ac0f4eee6..b2ec7d92a 100644
--- a/weed/operation/assign_file_id_test.go
+++ b/weed/operation/assign_file_id_test.go
@@ -60,7 +60,7 @@ func BenchmarkStreamAssign(b *testing.B) {
func BenchmarkUnaryAssign(b *testing.B) {
for i := 0; i < b.N; i++ {
- Assign(func(_ context.Context) pb.ServerAddress {
+ Assign(context.Background(), func(_ context.Context) pb.ServerAddress {
return pb.ServerAddress("localhost:9333")
}, grpc.WithInsecure(), &VolumeAssignRequest{
Count: 1,