-
Notifications
You must be signed in to change notification settings - Fork 0
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 #10 #329
[Spotless] Applying Google Code Format for integ-tests #10 #329
Conversation
Codecov Report
@@ Coverage Diff @@
## integ/sl_GoogleJavaFormat10 #329 +/- ##
==============================================================
Coverage 97.51% 97.51%
Complexity 4657 4657
==============================================================
Files 408 408
Lines 11933 11933
Branches 829 829
==============================================================
Hits 11637 11637
Misses 289 289
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
+ "Other Databases :\n" + otherDbConnectionInfoToString() + '\n' | ||
+ "Test data set(s) :\n" + testDataSetsToString() + '\n' | ||
+ "Test query set : " + testQuerySet + '\n' | ||
+ "Tested Database : " |
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.
👎
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.
...there are worse things
integ-test/src/test/java/org/opensearch/sql/correctness/testset/TestDataSet.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
fd825ab
to
4ee9597
Compare
+ "Other Databases :\n" + otherDbConnectionInfoToString() + '\n' | ||
+ "Test data set(s) :\n" + testDataSetsToString() + '\n' | ||
+ "Test query set : " + testQuerySet + '\n' | ||
+ "Tested Database : " |
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.
...there are worse things
"}" | ||
); | ||
JSONObject expected = | ||
new JSONObject( |
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.
I do not like how it combined the strings here
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.
Agreed. I can fix.
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.
(I think)
* https://github.com/elastic/elasticsearch/pull/49959 | ||
* Deprecate creation of dot-prefixed index names except for hidden and system indices. | ||
* Create hidden index by REST client. | ||
* https://github.com/elastic/elasticsearch/pull/49959 Deprecate creation of dot-prefixed index |
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.
* https://github.com/elastic/elasticsearch/pull/49959 Deprecate creation of dot-prefixed index | |
* https://github.com/elastic/elasticsearch/pull/49959 <br> Deprecate creation of dot-prefixed index |
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.
Added.
JSONObject response = | ||
executeQuery( | ||
String.format( | ||
"source=%s | eval `str` = typeof('pewpew'), `double` = typeof(1.0),`int` =" |
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.
is there a way to avoid reformatting the strings here?
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.
Yes, fixed.
* https://github.com/elastic/elasticsearch/pull/49959 | ||
* Deprecate creation of dot-prefixed index names except for hidden and system indices. | ||
* Create hidden index by REST client. | ||
* https://github.com/elastic/elasticsearch/pull/49959 Deprecate creation of dot-prefixed index |
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.
* https://github.com/elastic/elasticsearch/pull/49959 Deprecate creation of dot-prefixed index | |
* https://github.com/elastic/elasticsearch/pull/49959 <br> Deprecate creation of dot-prefixed index |
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.
Addressed, thanks.
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
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.
Thanks for fixing multiline strings!
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
…h-project#1967) * [Spotless] Applying Google Code Format for integ-tests #10 (#329) * Add spotless apply 33 files. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * Addressed PR comments. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * Address PR comments. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * fixing integ test failure. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> --------- Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * Update integ-test/src/test/java/org/opensearch/sql/correctness/tests/TestConfigTest.java Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com> Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com> * Apply suggestions from code review Co-authored-by: Guian Gumpac <guian.gumpac@improving.com> Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com> * Apply suggestions from code review Co-authored-by: Guian Gumpac <guian.gumpac@improving.com> 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> Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
…h-project#1967) * [Spotless] Applying Google Code Format for integ-tests #10 (#329) * Add spotless apply 33 files. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * Addressed PR comments. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * Address PR comments. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * fixing integ test failure. Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> --------- Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com> * Update integ-test/src/test/java/org/opensearch/sql/correctness/tests/TestConfigTest.java Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com> Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com> * Apply suggestions from code review Co-authored-by: Guian Gumpac <guian.gumpac@improving.com> Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com> * Apply suggestions from code review Co-authored-by: Guian Gumpac <guian.gumpac@improving.com> 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> Co-authored-by: Guian Gumpac <guian.gumpac@improving.com>
Description
Spotless apply on integ-test (part 3 of 4 integ-test integration).
Issues Resolved
opensearch-project#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.