Skip to content

Commit 845d4a9

Browse files
committed
Add opentsdb to CI
1 parent db43112 commit 845d4a9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/tests.yml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
image: petergrace/opentsdb-docker:latest
1212
ports:
1313
- 4242:4242
14-
# - 60030:60030
1514
# options: >-
1615
# --health-cmd="curl -f http://opentsdb:4242/api/version"
1716
# --health-interval=10s

test/Integration/OpenTsdbClientTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class OpenTsdbClientTest extends TestCase
2323
public function testSuccess(): void
2424
{
2525
if ($_ENV['APP_ENV'] === 'ci') {
26-
$this->markTestSkipped('Only for development environment. Need to pull opentsdb container to GitHub.');
26+
// $this->markTestSkipped('Only for development environment. Need to pull opentsdb container to GitHub.');
2727
}
2828

2929
$dataPointList[] = new DataPoint(
@@ -58,7 +58,7 @@ private function initOpenTsdbClient(): OpenTsdbClient
5858
'http_errors' => false,
5959
],
6060
),
61-
baseUri: 'http://opentsdb:4242',
61+
baseUri: 'opentsdb:4242',
6262
);
6363
}
6464
}

0 commit comments

Comments
 (0)