@@ -191,7 +191,7 @@ Feature: Site Command
191191
192192 Scenario : Create WordPress site with local DB and global redis
193193 When I run 'bin/ee site create wp-local-db.test --cache --type=wp --local-db'
194- Then After delay of 5 seconds
194+ Then After delay of 2 seconds
195195 And The site 'wp-local-db.test' should have webroot
196196 And The site 'wp-local-db.test' should have WordPress
197197 And Request on 'wp-local-db.test' should contain following headers:
@@ -201,7 +201,7 @@ Feature: Site Command
201201
202202 Scenario : Create WordPress site with local redis and global db
203203 When I run 'bin/ee site create wp-local-redis.test --cache --type=wp --with-local-redis'
204- Then After delay of 5 seconds
204+ Then After delay of 2 seconds
205205 And The site 'wp-local-redis.test' should have webroot
206206 And The site 'wp-local-redis.test' should have WordPress
207207 And Request on 'wp-local-redis.test' should contain following headers:
@@ -211,10 +211,30 @@ Feature: Site Command
211211
212212 Scenario : Create WordPress site with local DB and local redis
213213 When I run 'bin/ee site create wp-local-db-redis.test --cache --type=wp --local-db --with-local-redis'
214- Then After delay of 5 seconds
214+ Then After delay of 2 seconds
215215 And The site 'wp-local-db-redis.test' should have webroot
216216 And The site 'wp-local-db-redis.test' should have WordPress
217217 And Request on 'wp-local-db-redis.test' should contain following headers:
218218 | header |
219219 | HTTP /1 .1 200 OK |
220220 And Check local redis cache for 'wp-local-db-redis.test'
221+
222+ Scenario : Create WordPress site with remote DB and local redis
223+ When I run 'bin/ee site create wp-remote-db-local-redis.test --cache --type=wp --dbuser="root" --dbpass="" --dbhost="localhost" --with-local-redis'
224+ Then After delay of 2 seconds
225+ And The site 'wp-remote-db-local-redis.test' should have webroot
226+ And The site 'wp-remote-db-local-redis.test' should have WordPress
227+ And Request on 'wp-remote-db-local-redis.test' should contain following headers:
228+ | header |
229+ | HTTP /1 .1 200 OK |
230+ And Check local redis cache for 'wp-remote-db-local-redis.test'
231+
232+ Scenario : Create WordPress site with remote DB and global redis
233+ When I run 'bin/ee site create wp-remote-db-global-redis.test --cache --type=wp --dbuser="travis" --dbpass="" --dbhost="127.0.01"'
234+ Then After delay of 2 seconds
235+ And The site 'wp-remote-db-global-redis.test' should have webroot
236+ And The site 'wp-remote-db-global-redis.test' should have WordPress
237+ And Request on 'wp-remote-db-global-redis.test' should contain following headers:
238+ | header |
239+ | HTTP /1 .1 200 OK |
240+ And Check local redis cache for 'wp-remote-db-global-redis.test'
0 commit comments