This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @apanicker-nflx @aravindanr , There is a bug in do-while task when json_jq task is being used as loopOver task.
The reason being, json_jq has written task execution logic as a part of start method only. So if that is used as one of the loopOver tasks then do-while task wont wait for any task after the json-jq task and schedule a next iteration.
Consider a scenario where loopOver task has three task
HTTP--> JSON_JQ--> SIMPLE
Here the do-while task does not wait for SIMPLE task to get scheduled since JSON_JQ start method has execution logic and it immediately completes. Now there can be two ways to fix this that I can think of,
HTTP task also does same thing but do-while works in that case because http task goes into the queue before even calling the start method. If we make HTTP task sync then this issue we can reproduce with http task also.
cc @v1r3n @evgvain