Skip to content

Commit

Permalink
Mitigate CI failure with random sleep (#347)
Browse files Browse the repository at this point in the history
* Add the step to sleep randomly
* Update README.md
* Improve sleep strategy
  • Loading branch information
yuokada authored Jul 11, 2024
1 parent 05e8057 commit 75366cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
executor: << parameters.jdk >>
steps:
- checkout
- run:
name: Sleep to avoid resource name conflict
command: |
if [[ $CIRCLE_JOB != "build-jdk8" ]]; then
sleep $((15 + RANDOM % 15))
fi
- maven/with_cache:
steps:
- run:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# td-client for java

A java client for accessing [Treasure Data API](http://docs.treasuredata.com/articles/rest-api).
A java client for accessing [Treasure Data API](https://api-docs.treasuredata.com/en/api/td-api/quickstart/).
With this client, you can:
- submit Hive/Presto queries to Treasure Data
- check the status of jobs (queries)
Expand Down

0 comments on commit 75366cd

Please sign in to comment.