Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fix integ tests when security is not installed #278

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

lezzago
Copy link
Contributor

@lezzago lezzago commented Oct 22, 2020

Issue #, if available:

Description of changes:
Fix integration tests for ODFE distribution if security is not installed

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Comment on lines +83 to +84
false -> 1 // when test is run without security and filterby is enabled - filtering
// does not work without security, so filtering is ignored and gets a result
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Even though the value is the same, I want to have it commented/formatted this way to explain whats going on.

Comment on lines +78 to +79
false -> 1 // when test is run without security and filterby is enabled - filtering
// does not work without security, so filtering is ignored and gets a result
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Even though the value is the same, I want to have it commented/formatted this way to explain whats going on.

Comment on lines +134 to +135
false -> 4 // when test is run without security and filterby is enabled - filtering
// does not work without security, so filtering is ignored and gets a result
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Even though the value is the same, I want to have it commented/formatted this way to explain whats going on.

@codecov
Copy link

codecov bot commented Oct 22, 2020

Codecov Report

Merging #278 into master will decrease coverage by 0.79%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #278      +/-   ##
============================================
- Coverage     80.26%   79.46%   -0.80%     
+ Complexity      197      196       -1     
============================================
  Files           150      150              
  Lines          5132     5132              
  Branches        661      661              
============================================
- Hits           4119     4078      -41     
- Misses          652      696      +44     
+ Partials        361      358       -3     
Impacted Files Coverage Δ Complexity Δ
...ticsearch/alerting/elasticapi/ElasticExtensions.kt 48.07% <0.00%> (-5.77%) 0.00 <0.00> (ø)
...alerting/transport/TransportSearchMonitorAction.kt 28.57% <0.00%> (-22.86%) 0.00% <0.00%> (ø%)
...rch/alerting/transport/TransportGetAlertsAction.kt 61.64% <0.00%> (-10.96%) 0.00% <0.00%> (ø%)
...erting/transport/TransportGetDestinationsAction.kt 63.29% <0.00%> (-10.13%) 0.00% <0.00%> (ø%)
...roforelasticsearch/alerting/alerts/AlertIndices.kt 66.14% <0.00%> (-9.45%) 0.00% <0.00%> (ø%)
...ing/destination/client/DestinationEmailClient.java 72.50% <0.00%> (-5.00%) 7.00% <0.00%> (-1.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 cf82f1b...52a2297. Read the comment docs.

@skkosuri-amzn
Copy link
Contributor

thanks @lezzago for fixing this. 👍

@lezzago lezzago merged commit 02ecb4e into opendistro-for-elasticsearch:master Oct 22, 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.

3 participants