DEV: Fix S3 minio specs on CI (#24426)
config.after(:suite) which stops minio server is called every time one of the groups of parallel tests complete. This works fine most of the time with parallel spec runs, but sometimes one of these MinioRunner.stop calls happens while a spec is running in another process that expects the minio server to be running. Skipping these tests to avoid flakys for now.
This commit is contained in:
parent
7c1a4e32a6
commit
09b0548b5f
|
@ -199,6 +199,13 @@ module SystemHelpers
|
|||
end
|
||||
|
||||
def skip_unless_s3_system_specs_enabled!
|
||||
if ENV["CI"]
|
||||
return(
|
||||
skip(
|
||||
"S3 system specs are temporarily disabled in this environment to address parallel spec issues",
|
||||
)
|
||||
)
|
||||
end
|
||||
if !ENV["CI"] && !ENV["RUN_S3_SYSTEM_SPECS"]
|
||||
skip(
|
||||
"S3 system specs are disabled in this environment, set CI=1 or RUN_S3_SYSTEM_SPECS=1 to enable them.",
|
||||
|
|
Loading…
Reference in New Issue