Skip to content

Commit

Permalink
fix: duplicated datastore test events (#2644)
Browse files Browse the repository at this point in the history
fix duplicated datastore test events
  • Loading branch information
mathnogueira authored Jun 2, 2023
1 parent 0fa5b6a commit 6194290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/executor/trace_poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (pr *PollingRequest) HeaderBool(name string) bool {
}

func (pr PollingRequest) IsFirstRequest() bool {
return pr.HeaderBool("requeued")
return !pr.HeaderBool("requeued")
}

func NewPollingRequest(ctx context.Context, test model.Test, run model.Run, count int, pollingProfile pollingprofile.PollingProfile) *PollingRequest {
Expand Down

0 comments on commit 6194290

Please sign in to comment.