Skip to content

Commit

Permalink
Fix silly test messup
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Jun 29, 2019
1 parent c4909ae commit d568df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/dockerutil/dockerutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ func TestGetContainerHealth(t *testing.T) {
healthDetail, err := ContainerWait(15, labels)
assert.NoError(err)

assert.Equal("phpstatus: Ok /var/www/html: OK mailhog: OK ", healthDetail)
assert.Equal("phpstatus: OK /var/www/html: OK mailhog: OK ", healthDetail)

status, healthDetail = GetContainerHealth(container)
assert.Equal(status, "healthy")
assert.Equal("phpstatus: Ok /var/www/html: OK mailhog: OK ", healthDetail)
assert.Equal("phpstatus: OK /var/www/html: OK mailhog: OK ", healthDetail)
}

// TestContainerWait tests the error cases for the container check wait loop.
Expand Down

0 comments on commit d568df1

Please sign in to comment.