Skip to content

Commit

Permalink
Add opentsdb to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Sep 1, 2024
1 parent 07546ac commit d461e9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ jobs:
services:
opentsdb:
image: petergrace/opentsdb-docker:latest
env:
WAITSECS: 30 # Give time for hbase to shut down, otherwise data corruption may result
ports:
- 4242:4242
- 60030:60030
volumes:
- "./.docker_data_hbase:/data/hbase"

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion test/Integration/OpenTsdbClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private function initOpenTsdbClient(): OpenTsdbClient
'http_errors' => false,
],
),
baseUri: 'http://localhost:4242',
baseUri: 'http://opentsdb:4242',
);
}
}

0 comments on commit d461e9d

Please sign in to comment.