Skip to content

Commit

Permalink
fix: remove return when tests names are not equal
Browse files Browse the repository at this point in the history
Signed-off-by: gouravkrosx <[email protected]>
  • Loading branch information
gouravkrosx committed Apr 23, 2024
1 parent 7e1e2b0 commit c8c1d1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ func prepareMockAssertion(ctx context.Context, logger *zap.Logger, db1, db2 *tes
for i := 0; i < len(readTcs1); i++ {
if readTcs1[i].Name != readTcs2[i].Name {
logger.Error("test case names are not equal", zap.String("pre-recorded", readTcs1[i].Name), zap.String("test-bench", readTcs2[i].Name))
return false
}
//swap request timestamps
req1Time := readTcs1[i].HTTPReq.Timestamp
Expand Down

0 comments on commit c8c1d1a

Please sign in to comment.