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

test: checking bigqueryconnection IT test #9539

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

suztomo
Copy link
Contributor

@suztomo suztomo commented Sep 26, 2024

b/369370613

Checking whether the tests actually run or not.

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed Sample Format Guide
  • pom.xml parent set to latest shared-configuration
  • Appropriate changes to README are included in PR
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • Tests pass: mvn clean verify required
  • Lint passes: mvn -P lint checkstyle:check required
  • Static Analysis: mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
  • This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
  • Please merge this PR for me once it is approved

b/369370613

Checking whether the tests actually run or not.
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: bigqueryconnection Issues related to the BigQuery Connection API API. labels Sep 26, 2024
@suztomo
Copy link
Contributor Author

suztomo commented Sep 26, 2024

The build succeeded (log) but did it actually run the tests?

[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ bigqueryconnection-snippets ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/tmpfs/src/github/java-docs-samples/bigquery/bigqueryconnection/snippets/target/jacoco.exec
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bigqueryconnection-snippets ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /tmpfs/src/github/java-docs-samples/bigquery/bigqueryconnection/snippets/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bigqueryconnection-snippets ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /tmpfs/src/github/java-docs-samples/bigquery/bigqueryconnection/snippets/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19.830 s
[INFO] Finished at: 2024-09-26T17:23:37Z
[INFO] ------------------------------------------------------------------------
cd bigquery/bigqueryconnection/snippets
mvn --quiet --batch-mode --fail-at-end clean verify \
    -Dfile.encoding="UTF-8" \
    -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
    -Dmaven.test.redirectTestOutputToFile=true \
    -Dbigtable.projectID="java-docs-samples-testing" \
    -Dbigtable.instanceID=instance
[0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /tmpfs/docker/overlay2/e3bed8362b3b60364c58fc91873bdeb82378a925c99db20697bd36bdc4dcc8f8/merged/sys/fs/cgroup/cpuset.
/tmpfs/src/github/java-docs-samples/bigquery/bigqueryconnection/snippets

 Testing completed.

@suztomo suztomo marked this pull request as ready for review September 27, 2024 19:39
@suztomo suztomo requested review from yoshi-approver and a team as code owners September 27, 2024 19:39
@suztomo suztomo marked this pull request as draft September 27, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigqueryconnection Issues related to the BigQuery Connection API API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants