Skip to content

Commit

Permalink
Merge pull request #2389 from yahonda/skip_tests_if_database_and_clie…
Browse files Browse the repository at this point in the history
…nt_versions_do_not_match

Skip tests if database and client versions do not match
  • Loading branch information
yahonda authored Aug 14, 2024
2 parents 3a2b84f + 3ffb0cb commit f4a06ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_11g.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
DATABASE_HOST: localhost
DATABASE_PORT: 1521
DATABASE_VERSION: 11.2.0.2
DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH: true

services:
oracle:
Expand Down
1 change: 1 addition & 0 deletions spec/active_record/oracle_enhanced/type/timestamp_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
end

describe "/ TIMESTAMP WITH TIME ZONE values from ActiveRecord model" do
skip if ENV["DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH"] == "true"
before(:all) do
class ::TestEmployee < ActiveRecord::Base
end
Expand Down

0 comments on commit f4a06ae

Please sign in to comment.