File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ install-go-ci-dependencies:
147
147
go install github.com/go-python/gopy
148
148
149
149
install-protoc-dependencies :
150
- pip install grpcio-tools==1.34 .0
150
+ pip install grpcio-tools==1.44 .0
151
151
152
152
compile-protos-go : install-go-proto-dependencies install-protoc-dependencies
153
153
cd sdk/python && python setup.py build_go_protos
Original file line number Diff line number Diff line change @@ -195,15 +195,24 @@ def teardown(cls):
195
195
cls .container .stop ()
196
196
197
197
198
+ @pytest .fixture (scope = "session" )
199
+ def trino_fixture (request ):
200
+ def teardown ():
201
+ TrinoContainerSingleton .teardown ()
202
+
203
+ request .addfinalizer (teardown )
204
+ return TrinoContainerSingleton
205
+
206
+
198
207
@pytest .fixture (
199
208
params = FULL_REPO_CONFIGS , scope = "session" , ids = [str (c ) for c in FULL_REPO_CONFIGS ]
200
209
)
201
- def environment (request , worker_id : str ):
210
+ def environment (request , worker_id : str , trino_fixture ):
202
211
if "TrinoSourceCreator" in request .param .offline_store_creator .__name__ :
203
212
e = construct_test_environment (
204
213
request .param ,
205
214
worker_id = worker_id ,
206
- offline_container = TrinoContainerSingleton .get_singleton (),
215
+ offline_container = trino_fixture .get_singleton (),
207
216
)
208
217
else :
209
218
e = construct_test_environment (request .param , worker_id = worker_id )
You can’t perform that action at this time.
0 commit comments