Skip to content

Commit

Permalink
#1144: Bump host vm.max_map_count to 26214 for elastixxx
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Sep 9, 2018
1 parent 49c7e4f commit af82cb3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Expand Up @@ -41,6 +41,10 @@ jobs:
node -v
yarn -v
node ~/project/bin/lando.js version
- run:
name: Sytem edits needed for lando compat
command: |
sudo sysctl -w vm.max_map_count=26214
- run:
name: Run func test
command: |
Expand Down
4 changes: 2 additions & 2 deletions examples/elasticsearch/README.md
Expand Up @@ -34,10 +34,10 @@ lando npm -v
lando yarn --version

# Verify the ES version
lando ssh appserver -c "curl -XGET http://search:9200 | grep 5.4."
lando ssh appserver -c "curl -XGET search:9200 | grep 5.4."

# Verify we can access ES
lando ssh appserver -c "curl http://localhost | grep \"All is well\""
lando ssh appserver -c "curl localhost | grep \"All is well\""
```

Kill it
Expand Down
4 changes: 2 additions & 2 deletions test/func/elasticsearch.spec.js
Expand Up @@ -90,7 +90,7 @@ describe('elasticsearch', () => {
it('verify the es version', done => {
process.chdir('examples/elasticsearch');
const cli = new CliTest();
cli.exec('node ../../bin/lando.js ssh appserver -c "curl -kXGET search:9200 | grep 5.4."').then(res => {
cli.exec('node ../../bin/lando.js ssh appserver -c "curl -XGET http://search:9200 | grep 5.4."').then(res => {
if (res.error === null) {
done();
} else {
Expand All @@ -103,7 +103,7 @@ describe('elasticsearch', () => {
it('verify we can access es', done => {
process.chdir('examples/elasticsearch');
const cli = new CliTest();
cli.exec('node ../../bin/lando.js ssh appserver -c "curl -k localhost | grep \"All is well\""').then(res => {
cli.exec('node ../../bin/lando.js ssh appserver -c "curl http://localhost | grep \"All is well\""').then(res => {
if (res.error === null) {
done();
} else {
Expand Down

0 comments on commit af82cb3

Please sign in to comment.