diff --git a/pkg/querier/blocks_store_queryable_test.go b/pkg/querier/blocks_store_queryable_test.go index c3f8b87eb6..fde2ca8b89 100644 --- a/pkg/querier/blocks_store_queryable_test.go +++ b/pkg/querier/blocks_store_queryable_test.go @@ -646,7 +646,7 @@ func TestBlocksStoreQuerier_Select(t *testing.T) { map[BlocksStoreClient][]ulid.ULID{ &storeGatewayClientMock{ remoteAddr: "1.1.1.1", - mockedSeriesErr: grpc.ErrClientConnClosing, + mockedSeriesErr: status.Error(codes.Canceled, "grpc: the client connection is closing"), }: {block1}, }, map[BlocksStoreClient][]ulid.ULID{