Skip to content

Commit

Permalink
fixup! chore: minor processor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidddddarth committed Oct 11, 2023
1 parent 4b6979c commit ccc10c2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions processor/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2254,11 +2254,18 @@ var _ = Describe("Processor", Ordered, func() {
m := processor.getNonSuccessfulMetrics(transformerResponse,
&commonMetadata,
eventsByMessageID,
transformer.DestTransformerStage,
false,
false)
types.DEST_TRANSFORMER,
types.EVENT_FILTER,
)

key := fmt.Sprintf("%s!<<#>>!%s!<<#>>!%s!<<#>>!%s!<<#>>!%s", commonMetadata.SourceID, commonMetadata.DestinationID, commonMetadata.SourceJobRunID, commonMetadata.EventName, commonMetadata.EventType)
key := fmt.Sprintf(
"%s!<<#>>!%s!<<#>>!%s!<<#>>!%s!<<#>>!%s",
commonMetadata.SourceID,
commonMetadata.DestinationID,
commonMetadata.SourceJobRunID,
commonMetadata.EventName,
commonMetadata.EventType,
)

Expect(len(m.failedJobs)).To(Equal(2))
Expect(len(m.failedMetrics)).To(Equal(2))
Expand Down

0 comments on commit ccc10c2

Please sign in to comment.