Skip to content

Commit

Permalink
Fixed issue with namespace in maelstrom test (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Apr 25, 2023
1 parent efc8c11 commit d5f91e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maelstrom/grpc_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,10 @@ func (m *maelstromReplicateServerStream) Recv() (*proto.Append, error) {
}

func (m *maelstromReplicateServerStream) Context() context.Context {
md := metadata.New(map[string]string{"shard-id": "0"})
md := metadata.New(map[string]string{
"shard-id": "0",
"namespace": "default",
})
return metadata.NewIncomingContext(context.Background(), md)
}

Expand Down

0 comments on commit d5f91e6

Please sign in to comment.