File tree 1 file changed +18
-1
lines changed
src/python/blazingmq/dev/it
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,23 @@ def ephemeral_port_allocator():
331
331
for cat in broker_category_levels
332
332
]
333
333
334
+ # We want to be able to spawn a multi-node cluster in the GitHub Actions CI.
335
+ # We create a local directory with a storage for each node in a cluster,
336
+ # and we only have 14GB of storage on a GitHub Runner, that is why we need
337
+ # to reduce storage file sizes for integration tests.
338
+ configurator .proto .cluster .partition_config .max_data_file_size = (
339
+ 67108864 # 64MiB
340
+ )
341
+ configurator .proto .cluster .partition_config .max_journal_file_size = (
342
+ 16777216 # 16MiB
343
+ )
344
+ configurator .proto .cluster .partition_config .max_cslfile_size = (
345
+ 16777216 # 16MiB
346
+ )
347
+ configurator .proto .cluster .partition_config .max_qlist_file_size = (
348
+ 2097152 # 2MiB
349
+ )
350
+
334
351
def apply_tweaks (stage : int ):
335
352
for request_location in "cls" , "function" , "instance" :
336
353
if request_context := getattr (request , request_location , None ):
@@ -365,7 +382,7 @@ def apply_tweaks(stage: int):
365
382
) as cluster :
366
383
failures = (
367
384
0 + request .session .testsfailed
368
- ) # it doesn’ t work without the ’ 0 +’ , why?
385
+ ) # it doesn' t work without the ` 0 +` , why?
369
386
370
387
try :
371
388
with internal_use (cluster ):
You can’t perform that action at this time.
0 commit comments