Skip to content

Commit

Permalink
Update replication test suite for new fine branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Mar 28, 2017
1 parent 0fcdb72 commit 6071b45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public/pictures/
public/ui/

# spec/
spec/replication/util/data/euwe_migrations
spec/replication/util/data/*_migrations

# tmp/
tmp/*
Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/test_replication.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class EvmTestSetupReplication

def write_released_migrations
file_contents = released_migrations.sort.join("\n")
File.write(Rails.root.join("spec/replication/util/data/euwe_migrations"), file_contents)
File.write(Rails.root.join("spec/replication/util/data/previous_migrations"), file_contents)
end

private
Expand All @@ -40,6 +40,6 @@ class EvmTestSetupReplication
end

def fetch_command
"git fetch #{'--depth=1 ' if ENV['CI']}http://github.com/ManageIQ/manageiq.git refs/heads/euwe:#{TEST_BRANCH}"
"git fetch #{'--depth=1 ' if ENV['CI']}http://github.com/ManageIQ/manageiq.git refs/heads/fine:#{TEST_BRANCH}"
end
end
2 changes: 1 addition & 1 deletion spec/replication/util/migration_order_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe "migration order" do
let(:current_release_migrations) do
File.read(File.join(__dir__, 'data/euwe_migrations')).split.map(&:to_i).sort
File.read(File.join(__dir__, 'data/previous_migrations')).split.map(&:to_i).sort
end

let(:migrations_now) do
Expand Down

0 comments on commit 6071b45

Please sign in to comment.