10172: Add container.output check to TestFullRunWithAPI.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 25 Oct 2016 15:08:43 +0000 (11:08 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 25 Oct 2016 15:08:43 +0000 (11:08 -0400)
services/crunch-run/crunchrun_test.go

index 41b0e961c59f900d4b9e7307e32898de51bd5cfb..7f8e80cb107296b4184dfad5c1c76f9a29585c92 100644 (file)
@@ -959,6 +959,7 @@ func (s *TestSuite) TestFullRunWithAPI(c *C) {
        c.Check(api.CalledWith("container.exit_code", 0), NotNil)
        c.Check(api.CalledWith("container.state", "Complete"), NotNil)
        c.Check(strings.HasSuffix(api.Logs["stdout"].String(), "test.arvados.org\n"), Equals, true)
+       c.Check(api.CalledWith("container.output", "d41d8cd98f00b204e9800998ecf8427e+0"), NotNil)
 }
 
 func (s *TestSuite) TestFullRunSetOutput(c *C) {