Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[engine] Align story execution timeout properties naming #3531

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Conversation

ikalinin1
Copy link
Member

@ikalinin1 ikalinin1 commented Jan 6, 2023

fixes #3416

@codecov
Copy link

codecov bot commented Jan 6, 2023

Codecov Report

Merging #3531 (7f0734e) into master (028354c) will increase coverage by 7.64%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #3531      +/-   ##
============================================
+ Coverage     89.31%   96.95%   +7.64%     
+ Complexity     6236     6025     -211     
============================================
  Files           844      844              
  Lines         17186    17198      +12     
  Branches       1119     1121       +2     
============================================
+ Hits          15349    16674    +1325     
+ Misses         1710      417    -1293     
+ Partials        127      107      -20     
Impacted Files Coverage Δ
...ain/java/org/vividus/batch/BatchConfiguration.java 100.00% <100.00%> (ø)
.../src/main/java/org/vividus/batch/BatchStorage.java 100.00% <100.00%> (ø)
...g/vividus/configuration/ConfigurationResolver.java 98.40% <0.00%> (+3.20%) ⬆️
...idus/steps/SpringStepFactoryBeanPostProcessor.java 100.00% <0.00%> (+6.66%) ⬆️
...va/org/vividus/configuration/PropertiesLoader.java 98.41% <0.00%> (+9.52%) ⬆️
...in/java/org/vividus/configuration/BeanFactory.java 94.28% <0.00%> (+14.28%) ⬆️
...org/vividus/configuration/PropertiesDecryptor.java 100.00% <0.00%> (+16.66%) ⬆️
...c/main/java/org/vividus/log/AllureLogAppender.java 100.00% <0.00%> (+20.00%) ⬆️
.../vividus/issue/KnownIssueVariableDataProvider.java 100.00% <0.00%> (+25.00%) ⬆️
...ovy/VariableContextAwareGroovyScriptEvaluator.java 100.00% <0.00%> (+25.00%) ⬆️
... and 60 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment on lines 62 to 63
this.defaultStoryExecutionTimeout = defaultStoryExecutionTimeout == null ? DEFAULT_STORY_TIMEOUT
: defaultStoryExecutionTimeout;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional comment:

Suggested change
this.defaultStoryExecutionTimeout = defaultStoryExecutionTimeout == null ? DEFAULT_STORY_TIMEOUT
: defaultStoryExecutionTimeout;
this.defaultStoryExecutionTimeout = Optional.ofNullable(defaultStoryExecutionTimeout).orElse(DEFAULT_STORY_TIMEOUT);

@sonarcloud
Copy link

sonarcloud bot commented Jan 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@valfirst valfirst merged commit 0034d0d into master Jan 9, 2023
@valfirst valfirst deleted the 3416 branch January 9, 2023 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Align story timeout properties naming
3 participants