Skip to content

Commit

Permalink
Update test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelolebre committed Mar 24, 2019
1 parent 1e096aa commit ed43884
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 9 additions & 5 deletions test/elasticsearch/cluster/cluster_test.exs
Expand Up @@ -8,10 +8,6 @@ defmodule Elasticsearch.ClusterTest do
url: "http://localhost:9200",
username: "username",
password: "password",
aws_access_key_id: "aws_access_key_id",
aws_secret_access_key: "aws_secret_access_key",
aws_region: "us-east-1",
aws_service: "es",
indexes: %{
posts: %{
settings: "test/support/settings/posts.json",
Expand All @@ -20,7 +16,15 @@ defmodule Elasticsearch.ClusterTest do
bulk_page_size: 5000,
bulk_wait_interval: 5000
}
}
},
default_options: [
aws: [
region: "us-east-1",
service: "es",
access_key: "aws_access_key_id",
secret: "aws_secret_access_key"
]
]
}
end

Expand Down
14 changes: 7 additions & 7 deletions test/support/cluster.ex
Expand Up @@ -21,13 +21,13 @@ defmodule Elasticsearch.Test.Cluster do
}
},
default_options: [
aws: [
region: "us-east-1",
service: "es",
access_key: "aws_access_key_id",
secret: "aws_secret_access_key"
]
]
aws: [
region: "us-east-1",
service: "es",
access_key: "aws_access_key_id",
secret: "aws_secret_access_key"
]
]
}}
end
end

0 comments on commit ed43884

Please sign in to comment.