Skip to content

Commit

Permalink
Merge pull request elastic#177 from andrewkroh/feature/elasticsearch-173
Browse files Browse the repository at this point in the history
Update to elasticsearch 1.7.3.
  • Loading branch information
Steffen Siering committed Oct 20, 2015
2 parents 0b8ab94 + 3dde98f commit b2ceb5f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go:

env:
- TARGETS="check"
- TARGETS="testsuite ES_HOST=elasticsearch-172"
- TARGETS="testsuite ES_HOST=elasticsearch-173"
- TARGETS="testsuite ES_HOST=elasticsearch-200"
- TARGETS="crosscompile"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ build-image: write-environment
# To use it for running the test, set ES_HOST and REDIS_HOST environment variable to the ip of your docker-machine.
.PHONY: start-environment
start-environment: stop-environment
docker-compose up -d redis elasticsearch-172 elasticsearch-200 logstash
docker-compose up -d redis elasticsearch-173 elasticsearch-200 logstash

.PHONY: stop-environment
stop-environment:
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ libbeat:
build: .
links:
- redis
- elasticsearch-172
- elasticsearch-173
- elasticsearch-200
- logstash
environment:
Expand All @@ -12,8 +12,8 @@ libbeat:
- LS_TCP_PORT=12345
env_file:
- build/test.env
elasticsearch-172:
image: elasticsearch:1.7.2
elasticsearch-173:
image: elasticsearch:1.7.3
elasticsearch-200:
image: elasticsearch:2.0.0-rc1
command: elasticsearch -Des.network.host=0.0.0.0
Expand All @@ -24,5 +24,5 @@ logstash:
env_file:
- build/test.env
links:
- elasticsearch-172
- elasticsearch-173
- elasticsearch-200
2 changes: 1 addition & 1 deletion outputs/elasticsearch/connection_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func TestDeadTimeout(t *testing.T) {
assertExpectedConnectionURL(t, conn.URL, urls[0])

pool.MarkDead(conn)
time.Sleep(1 * time.Millisecond)
time.Sleep(10 * time.Millisecond)

assertExpectedConnectionURL(t, pool.GetConnection().URL, urls[1])
assertExpectedConnectionURL(t, pool.GetConnection().URL, urls[0])
Expand Down

0 comments on commit b2ceb5f

Please sign in to comment.