Skip to content

Commit 718f770

Browse files
committed
ci+test: Replace deleted pubsub image
Signed-off-by: Ferenc Géczi <[email protected]>
1 parent b951f7f commit 718f770

File tree

2 files changed

+27
-22
lines changed

2 files changed

+27
-22
lines changed

.circleci/config.yml

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ jobs:
8686
- image: cimg/redis:5.0.14
8787
- image: rabbitmq:3.9.13
8888
- image: mongo:4.2.3
89-
- image: singularities/pubsub-emulator
90-
environment:
91-
PUBSUB_PROJECT_ID: "project-test"
92-
PUBSUB_LISTEN_ADDRESS: "0.0.0.0:8432"
89+
- image: egymgmbh/pubsub-emulator
90+
command:
91+
- test-project
92+
- test-topic
93+
- test-subscription
9394
working_directory: ~/repo
9495
steps:
9596
- checkout
@@ -111,10 +112,11 @@ jobs:
111112
- image: cimg/redis:5.0.14
112113
- image: rabbitmq:3.9.13
113114
- image: mongo:4.2.3
114-
- image: singularities/pubsub-emulator
115-
environment:
116-
PUBSUB_PROJECT_ID: "project-test"
117-
PUBSUB_LISTEN_ADDRESS: "0.0.0.0:8432"
115+
- image: egymgmbh/pubsub-emulator
116+
command:
117+
- test-project
118+
- test-topic
119+
- test-subscription
118120
working_directory: ~/repo
119121
steps:
120122
- checkout
@@ -135,10 +137,11 @@ jobs:
135137
- image: cimg/redis:5.0.14
136138
- image: rabbitmq:3.9.13
137139
- image: mongo:4.2.3
138-
- image: singularities/pubsub-emulator
139-
environment:
140-
PUBSUB_PROJECT_ID: "project-test"
141-
PUBSUB_LISTEN_ADDRESS: "0.0.0.0:8432"
140+
- image: egymgmbh/pubsub-emulator
141+
command:
142+
- test-project
143+
- test-topic
144+
- test-subscription
142145
working_directory: ~/repo
143146
steps:
144147
- checkout
@@ -159,10 +162,11 @@ jobs:
159162
- image: cimg/redis:5.0.14
160163
- image: rabbitmq:3.9.13
161164
- image: mongo:4.2.3
162-
- image: singularities/pubsub-emulator
163-
environment:
164-
PUBSUB_PROJECT_ID: "project-test"
165-
PUBSUB_LISTEN_ADDRESS: "0.0.0.0:8432"
165+
- image: egymgmbh/pubsub-emulator
166+
command:
167+
- test-project
168+
- test-topic
169+
- test-subscription
166170
working_directory: ~/repo
167171
steps:
168172
- checkout
@@ -184,10 +188,11 @@ jobs:
184188
- image: cimg/redis:5.0.14
185189
- image: rabbitmq:3.9.13
186190
- image: mongo:4.2.3
187-
- image: singularities/pubsub-emulator
188-
environment:
189-
PUBSUB_PROJECT_ID: "project-test"
190-
PUBSUB_LISTEN_ADDRESS: "0.0.0.0:8432"
191+
- image: egymgmbh/pubsub-emulator
192+
command:
193+
- test-project
194+
- test-topic
195+
- test-subscription
191196
working_directory: ~/repo
192197
steps:
193198
- checkout

tests/clients/test_google-cloud-pubsub.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
from instana.singletons import tracer
1919
from tests.test_utils import _TraceContextMixin
2020

21-
# Use PubSub Emulator exposed at :8432
22-
os.environ["PUBSUB_EMULATOR_HOST"] = "localhost:8432"
21+
# Use PubSub Emulator exposed at :8085
22+
os.environ["PUBSUB_EMULATOR_HOST"] = "localhost:8085"
2323

2424

2525
class TestPubSubPublish(unittest.TestCase, _TraceContextMixin):

0 commit comments

Comments
 (0)