@@ -314,39 +314,6 @@ func testDockerAppLifecycle(t *testing.T, useBindMount bool) {
314314 fmt .Sprintf ("Creating service %s_web" , appName ),
315315 })
316316
317- // Query the application status
318- cmd .Command = dockerCli .Command ("app" , "status" , appName )
319- checkContains (t , icmd .RunCmd (cmd ).Assert (t , icmd .Success ).Combined (),
320- []string {
321- `INSTALLATION
322- ------------
323- Name: TestDockerAppLifecycle_.*
324- Created: .*
325- Modified: .*
326- Revision: .*
327- Last Action: install
328- Result: SUCCESS
329- Orchestrator: swarm
330-
331- APPLICATION
332- -----------
333- Name: simple
334- Version: 1.1.0-beta1
335- Reference:.*
336-
337- PARAMETERS
338- ----------
339- api_host: example.com
340- static_subdir: data/static
341- web_port: 8082
342-
343- STATUS
344- ------` ,
345- fmt .Sprintf ("[[:alnum:]]+ %s_db replicated [0-1]/1 postgres:9.3" , appName ),
346- fmt .Sprintf (`[[:alnum:]]+ %s_web replicated [0-1]/1 nginx:latest \*:8082->80/tcp` , appName ),
347- fmt .Sprintf ("[[:alnum:]]+ %s_api replicated [0-1]/1 python:3.6" , appName ),
348- })
349-
350317 // List the installed application
351318 cmd .Command = dockerCli .Command ("app" , "ls" )
352319 checkContains (t , icmd .RunCmd (cmd ).Assert (t , icmd .Success ).Combined (),
@@ -371,10 +338,6 @@ STATUS
371338 fmt .Sprintf ("Updating service %s_web" , appName ),
372339 })
373340
374- // Query the application status again, the port should have change
375- cmd .Command = dockerCli .Command ("app" , "status" , appName )
376- icmd .RunCmd (cmd ).Assert (t , icmd.Expected {ExitCode : 0 , Out : "8081" })
377-
378341 // Uninstall the application
379342 cmd .Command = dockerCli .Command ("app" , "rm" , appName )
380343 checkContains (t , icmd .RunCmd (cmd ).Assert (t , icmd .Success ).Combined (),
0 commit comments