Fix: reset before ci testing
Some checks failed
Go test / run-go-vet (push) Successful in 6s
Go test / check-swagger-up-to-date (push) Successful in 9s
Go test / run-go-test (push) Failing after 26s
Go test / release-image (push) Has been skipped
Go test / cleanup-go-test (push) Successful in 4s

This commit is contained in:
2025-12-13 02:01:17 +08:00
parent 7a108de0ab
commit a9a7a4a37e
2 changed files with 2 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ postgres:
$(COMPOSE) exec postgres psql \ $(COMPOSE) exec postgres psql \
postgres://go2025:go2025@postgres:5432/go2025?sslmode=disable postgres://go2025:go2025@postgres:5432/go2025?sslmode=disable
test-ci: docker-quiet test docker-clean test-ci: docker-quiet reset test docker-clean
docker-quiet: docker-build-native docker-quiet: docker-build-native
$(COMPOSE) up -d \ $(COMPOSE) up -d \

View File

@@ -60,6 +60,7 @@ func Test_03_PutImageAliases(t *testing.T) {
for _, alias := range aliases { for _, alias := range aliases {
if alias.Name == "testalias2" { if alias.Name == "testalias2" {
t.Logf("%+v", resp)
t.Fatal("alias should be deleted") t.Fatal("alias should be deleted")
} }
} }