fix: carry immutable hash in command dispatch
This commit is contained in:
@@ -106,7 +106,7 @@ func TestWebSocketDispatchAfterReconciliation_HP_DISPATCH_03(t *testing.T) {
|
||||
t.Fatalf("dispatch envelope = %#v, %v", envelope, err)
|
||||
}
|
||||
dispatch := envelope.GetCommandDispatch()
|
||||
if dispatch == nil || dispatch.GetIssueUuid() != issue.String() || dispatch.GetCommandRevision() != 1 || dispatch.GetTargetSessionGeneration() != accepted.Generation || !proto.Equal(dispatch.GetSpec(), spec) {
|
||||
if dispatch == nil || dispatch.GetIssueUuid() != issue.String() || dispatch.GetCommandRevision() != 1 || dispatch.GetTargetSessionGeneration() != accepted.Generation || !proto.Equal(dispatch.GetSpec(), spec) || string(dispatch.GetImmutableRequestSha256()) != string(requestHash[:]) {
|
||||
t.Fatalf("dispatch = %#v", dispatch)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user