summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-08 12:59:37 -0600
committermo khan <mo@mokhan.ca>2025-05-08 12:59:37 -0600
commitc7336802a83e48c0aa69b286aa4c1e81b583035d (patch)
tree4a798d3ad4988184f9bd26ee0a35d4b9a236aa43
parent74d953ca1fcb8ce2c6d6b8ee54314bd95833076c (diff)
test: ensure that the integration tests are testing the correct image
-rw-r--r--Makefile2
-rw-r--r--test/integration/container_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 84114d6..77d9da4 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ test-unit:
@go test -shuffle=on ./...
test-integration: build-image
- @go test -tags=integration ./test/integration/...
+ @IMAGE_TAG=$(IMAGE_TAG) go test -tags=integration ./test/integration/...
test: test-unit test-integration
diff --git a/test/integration/container_test.go b/test/integration/container_test.go
index 8b3a823..81034bf 100644
--- a/test/integration/container_test.go
+++ b/test/integration/container_test.go
@@ -17,7 +17,7 @@ import (
)
func TestContainer(t *testing.T) {
- image := env.Fetch("IMAGE_TAG", "sparkled:main")
+ image := env.Fetch("IMAGE_TAG", "sparkled:invalid")
t.Logf("image: %v\n", image)
require.NotEmpty(t, image)