-
Notifications
You must be signed in to change notification settings - Fork 138
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
[Spotless] Applying Google Code Format for integ-tests #8 #1962
[Spotless] Applying Google Code Format for integ-tests #8 #1962
Conversation
add ignore failures for build.gradle. Reverting ignore for checkstyle in integ-test Addressed PR comments. Addressed PR comments to expand jav doc. fixed string formatting Fixed string formatting. Fixed string formatting in MatchPhrasePrefixIT Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Codecov Report
@@ Coverage Diff @@
## main #1962 +/- ##
============================================
- Coverage 97.51% 97.51% -0.01%
+ Complexity 4657 4656 -1
============================================
Files 408 408
Lines 11933 11930 -3
Branches 829 829
============================================
- Hits 11637 11634 -3
Misses 289 289
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. |
integ-test/src/test/java/org/opensearch/sql/correctness/runner/resultset/DBResult.java
Outdated
Show resolved
Hide resolved
integ-test/src/test/java/org/opensearch/sql/correctness/runner/resultset/DBResult.java
Outdated
Show resolved
Hide resolved
integ-test/src/test/java/org/opensearch/sql/legacy/CursorIT.java
Outdated
Show resolved
Hide resolved
integ-test/src/test/java/org/opensearch/sql/legacy/JSONRequestIT.java
Outdated
Show resolved
Hide resolved
@@ -5,15 +5,16 @@ | |||
|
|||
package org.opensearch.sql.sql; | |||
|
|||
import org.junit.Test; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import order is incorrect
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com> Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
var query = String.format("SELECT * FROM %s", table); | ||
ResultSet rs = stmt.executeQuery(query); | ||
int rows = 0; | ||
for (; rs.next(); rows++) ; | ||
for (; rs.next(); rows++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: Maybe switch this to a while loop. Looks odd to have ;
on a separate column.
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
5eb9b87
c60a4f1
into
opensearch-project:main
…-project#1962) * spotless apply for 81 integ-test files (#327) add ignore failures for build.gradle. Reverting ignore for checkstyle in integ-test Addressed PR comments. Addressed PR comments to expand jav doc. fixed string formatting Fixed string formatting. Fixed string formatting in MatchPhrasePrefixIT Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * Apply suggestions from code review Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com> Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com> * address PR comments Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> --------- Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com> Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Description
Spotless apply on integ-test (part 1 of 4 integ-test integration).
Issues Resolved
#1101
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.