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 2, 2024
1 parent db43112 commit 845d4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
image: petergrace/opentsdb-docker:latest
ports:
- 4242:4242
# - 60030:60030
# options: >-
# --health-cmd="curl -f http://opentsdb:4242/api/version"
# --health-interval=10s
Expand Down
4 changes: 2 additions & 2 deletions test/Integration/OpenTsdbClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class OpenTsdbClientTest extends TestCase
public function testSuccess(): void
{
if ($_ENV['APP_ENV'] === 'ci') {
$this->markTestSkipped('Only for development environment. Need to pull opentsdb container to GitHub.');
// $this->markTestSkipped('Only for development environment. Need to pull opentsdb container to GitHub.');
}

$dataPointList[] = new DataPoint(
Expand Down Expand Up @@ -58,7 +58,7 @@ private function initOpenTsdbClient(): OpenTsdbClient
'http_errors' => false,
],
),
baseUri: 'http://opentsdb:4242',
baseUri: 'opentsdb:4242',
);
}
}

0 comments on commit 845d4a9

Please sign in to comment.