Conversation
Summary of ChangesHello @annguy3n, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the Kokoro build configuration for integration tests. The changes update the Maven command-line arguments to use a dedicated profile for integration tests and skip various build steps like checkstyle, unit tests, and formatting during this specific build phase. Additionally, a Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the integration test execution command in .kokoro/build.sh. The change to use a Maven profile (-Penable-integration-tests) is a good improvement for maintainability. However, it appears that properties for skipping plugins like JaCoCo and Javadoc were removed. I've added a comment suggesting to restore them to prevent longer build times or unexpected failures. It would also be beneficial to update the pull request title and description to be more descriptive of the changes.
4f21237 to
0451246
Compare
0451246 to
33fc29d
Compare
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
|
||
| private static final String PROJECT = getProperty("google.bigtable.project.id", "fakeProject"); | ||
| private static final String INSTANCE = getProperty("google.bigtable.instance.id", "fakeInstance"); | ||
| private static final String TABLE = getProperty("google.bigtable.table.id", "hotels"); |
There was a problem hiding this comment.
how are the tables and views created/managed?
| @Test | ||
| public void testBasicSelectStatement() throws Exception { | ||
| String url = String.format("jdbc:bigtable:/projects/%s/instances/%s", PROJECT, INSTANCE); | ||
| String select = String.format("SELECT * FROM `%s` WHERE hotel_info['id'] = ?", TABLE); |
There was a problem hiding this comment.
does the driver support literals? If so, it is worth adding some tests with literals in the where clause
| assertTrue(connection.isValid(0)); | ||
| PreparedStatement statement = connection.prepareStatement("Select 42;"); | ||
| try (ResultSet rs = statement.executeQuery()) { | ||
| assertTrue(rs.next()); |
There was a problem hiding this comment.
probably overkill but should we add an assertFalse(rs.next()) to make sure there are no more results here and in the other tests?
Setup Continuous Integration via Kokoro