File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 26
26
27
27
api_key = ENV [ 'API_KEY' ]
28
28
url = ENV [ 'ELASTICSEARCH_URL' ]
29
- CLIENT = ElasticsearchServerless ::Client . new ( api_key : api_key , url : url , arguments : { request_timeout : 120 } )
29
+ arguments = {
30
+ retry_on_status : [ 409 ] ,
31
+ retry_on_failure : 10 ,
32
+ delay_on_retry : 60_000 ,
33
+ request_timeout : 120
34
+ }
35
+ CLIENT = ElasticsearchServerless ::Client . new ( api_key : api_key , url : url , arguments : arguments )
Original file line number Diff line number Diff line change 26
26
logger . level = Logger ::WARN unless ENV [ 'DEBUG' ]
27
27
28
28
Elasticsearch ::Tests ::Downloader ::run ( tests_path )
29
- Elasticsearch ::Tests ::TestRunner . new ( CLIENT , tests_path , logger ) . run
29
+ Elasticsearch ::Tests ::TestRunner . new ( CLIENT , tests_path , logger ) . run ( ENV [ 'SINGLE_TEST' ] || [ ] )
You can’t perform that action at this time.
0 commit comments