Merge pull request #9452 from hashicorp/f-e2e-print-consulacls-string

e2e: print consulacls scripts output as string
This commit is contained in:
Seth Hoenig 2020-11-25 15:06:48 -06:00 committed by GitHub
commit 00caf2c204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ func (m *tfManager) Enable(t *testing.T) string {
response, err := exec.CommandContext(ctx,
"consulacls/consul-acls-manage.sh", "enable").CombinedOutput()
require.NoError(t, err)
fmt.Println(response)
fmt.Println(string(response))
// Read the Consul ACL master token that was generated (or if the token
// already existed because the bootstrap process had already taken place,
@ -116,5 +116,5 @@ func (m *tfManager) Disable(t *testing.T) {
response, err := exec.CommandContext(ctx,
"consulacls/consul-acls-manage.sh", "disable").CombinedOutput()
require.NoError(t, err)
fmt.Println(response)
fmt.Println(string(response))
}