Commit 1b0af3c3 authored by Stan Hu's avatar Stan Hu

Restrict tests to run only if PostgreSQL

parent 595d591d
...@@ -157,7 +157,7 @@ describe Geo::FileDownloadDispatchWorker, :geo, :truncate do ...@@ -157,7 +157,7 @@ describe Geo::FileDownloadDispatchWorker, :geo, :truncate do
describe 'when PostgreSQL FDW is available', :geo do describe 'when PostgreSQL FDW is available', :geo do
# Skip if FDW isn't activated on this database # Skip if FDW isn't activated on this database
it_behaves_like '#perform', !Gitlab::Geo.fdw? it_behaves_like '#perform', Gitlab::Database.postgresql? && !Gitlab::Geo.fdw?
end end
describe 'when PostgreSQL FDW is not enabled', :geo do describe 'when PostgreSQL FDW is not enabled', :geo do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment