Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Preserve task domains for tasks inside do_while loop #1939

Merged
merged 1 commit into from
Nov 4, 2020

Conversation

marosmars
Copy link
Contributor

On every iteration, apply task domains as set in the workflow execution.
This feature was missing and made do wile behave incorrectly when using
task domains (since the domains were reset for tasks inside the loop).

Signed-off-by: Maros Marsalek mmarsalek@frinx.io

On every iteration, apply task domains as set in the workflow execution.
This feature was missing and made do wile behave incorrectly when using
task domains (since the domains were reset for tasks inside the loop)

Signed-off-by: Maros Marsalek <mmarsalek@frinx.io>
@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

Merging #1939 into dev will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev    #1939      +/-   ##
============================================
+ Coverage     65.57%   65.59%   +0.02%     
- Complexity     3928     3930       +2     
============================================
  Files           301      301              
  Lines         18527    18528       +1     
  Branches       1685     1685              
============================================
+ Hits          12149    12154       +5     
+ Misses         5537     5534       -3     
+ Partials        841      840       -1     
Impacted Files Coverage Δ Complexity Δ
...lix/conductor/core/execution/WorkflowExecutor.java 79.70% <100.00%> (+0.02%) 181.00 <0.00> (ø)
.../com/netflix/conductor/dao/mysql/MySQLBaseDAO.java 71.59% <0.00%> (+4.54%) 19.00% <0.00%> (+2.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b51ce0a...f25c196. Read the comment docs.

@marosmars
Copy link
Contributor Author

Hey @apanicker-nflx , this is a small improvement (single line changed) to the do while task, including unit tests.

@apanicker-nflx apanicker-nflx merged commit 185e436 into Netflix:dev Nov 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants