Skip to content

Commit

Permalink
#244: Add test for the networkLimit config var.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Dec 17, 2024
1 parent 27b4258 commit 09fe395
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/networking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ cp -rf index.php lemp/index.php
cp -rf nginx.conf lemp/nginx.conf
cp -rf .lando.lemp.yml lemp/.lando.yml
cd lemp && lando start

# Should copy .config.yml to ~/.lando/config.yml
cp config.yml ~/.lando/config.yml
lando --clear
```

## Verification commands
Expand Down Expand Up @@ -63,6 +67,9 @@ lando exec appserver_nginx -- curl https://appserver.landolamp.internal
# Should even be able to connect to a database in a different app
cd lamp
lando exec database -- mysql -uroot -h database.landolemp.internal -e "quit"

# Should see the correct network limit
lando config | grep "networkLimit: 64"
```

## Destroy tests
Expand Down
1 change: 1 addition & 0 deletions examples/networking/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
networkLimit: 64

0 comments on commit 09fe395

Please sign in to comment.