efe87321b2
Testing Tweaks * parallel * slowestquery * split * cleanup * health * dynamiccores * go * profile * timeout * commitmychanges * taskfile * sqlcheckstart * client * cost * ctxtimeout
19 lines
309 B
Go
19 lines
309 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/gruntwork-io/terratest/modules/docker"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestBuildImage(t *testing.T) {
|
|
if testing.Short() {
|
|
t.SkipNow()
|
|
}
|
|
buildImage(t, t.Context())
|
|
|
|
exists := docker.DoesImageExist(t, imageTag, nil)
|
|
assert.True(t, exists)
|
|
}
|