Skip to content

Commit d5f91e6

Browse files
authored
Fixed issue with namespace in maelstrom test (oxia-db#335)
1 parent efc8c11 commit d5f91e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

maelstrom/grpc_provider.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,10 @@ func (m *maelstromReplicateServerStream) Recv() (*proto.Append, error) {
363363
}
364364

365365
func (m *maelstromReplicateServerStream) Context() context.Context {
366-
md := metadata.New(map[string]string{"shard-id": "0"})
366+
md := metadata.New(map[string]string{
367+
"shard-id": "0",
368+
"namespace": "default",
369+
})
367370
return metadata.NewIncomingContext(context.Background(), md)
368371
}
369372

0 commit comments

Comments
 (0)