Skip to content

Commit

Permalink
Fix failing integration tests (#178)
Browse files Browse the repository at this point in the history
* Fix updateQueryWith[Valid/Invalid]EngineVersion tests
* Change test endpoint to api-staging
  • Loading branch information
tung-vu-td committed Apr 15, 2022
1 parent 6e40bfd commit 2c3d214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
- checkout
- run:
name: Test
command: mvn test
command: mvn test -Dtd.client.endpoint=api-staging.treasuredata.com
- store_artifacts:
path: /tmp/td-client-java/target/site
4 changes: 2 additions & 2 deletions src/test/java/com/treasuredata/client/TestTDClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ public void updateQueryWithValidEngineVersion()
.setCron("0 * * * *")
.setPriority(-1)
.setRetryLimit(2)
.setEngineVersion(EngineVersion.fromString("experimental"))
.setEngineVersion(EngineVersion.fromString("stable"))
.build();

try {
Expand Down Expand Up @@ -1646,7 +1646,7 @@ public void updateQueryWithInvalidEngineVersion()
.setCron("0 * * * *")
.setPriority(-1)
.setRetryLimit(2)
.setEngineVersion(EngineVersion.fromString("experimental"))
.setEngineVersion(EngineVersion.fromString("stable"))
.build();

try {
Expand Down

0 comments on commit 2c3d214

Please sign in to comment.