Skip to content

Commit 09fe395

Browse files
committed
#244: Add test for the networkLimit config var.
1 parent 27b4258 commit 09fe395

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/networking/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ cp -rf index.php lemp/index.php
2222
cp -rf nginx.conf lemp/nginx.conf
2323
cp -rf .lando.lemp.yml lemp/.lando.yml
2424
cd lemp && lando start
25+
26+
# Should copy .config.yml to ~/.lando/config.yml
27+
cp config.yml ~/.lando/config.yml
28+
lando --clear
2529
```
2630

2731
## Verification commands
@@ -63,6 +67,9 @@ lando exec appserver_nginx -- curl https://appserver.landolamp.internal
6367
# Should even be able to connect to a database in a different app
6468
cd lamp
6569
lando exec database -- mysql -uroot -h database.landolemp.internal -e "quit"
70+
71+
# Should see the correct network limit
72+
lando config | grep "networkLimit: 64"
6673
```
6774

6875
## Destroy tests

examples/networking/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
networkLimit: 64

0 commit comments

Comments
 (0)