Skip to content

Commit 1dc3277

Browse files
committed
Fix test breaks.
1 parent 6288cea commit 1dc3277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Grpc.IntegrationTests/GrpcSidecar/Grpc/TaskHubGrpcServer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ static P.GetInstanceResponse CreateGetInstanceResponse(OrchestrationState state,
372372
{
373373
Actions = request.Actions.Select(ProtobufUtils.ToOrchestratorAction),
374374
CustomStatus = request.CustomStatus,
375-
OrchestrationActivitySpanId = request.OrchestrationTraceContext.SpanID,
376-
OrchestrationActivityStartTime = request.OrchestrationTraceContext.SpanStartTime?.ToDateTimeOffset(),
375+
OrchestrationActivitySpanId = request.OrchestrationTraceContext?.SpanID,
376+
OrchestrationActivityStartTime = request.OrchestrationTraceContext?.SpanStartTime?.ToDateTimeOffset(),
377377
};
378378

379379
tcs.TrySetResult(result);

0 commit comments

Comments
 (0)