diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index d5fd7b4a3..48bcfb199 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -25,3 +25,5 @@ jobs: make test - name: Check modified files run: git diff --exit-code + - name: Check if test GUIDs are unique + run: x=$(grep -rEho '[[:xdigit:]]{8}(-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}' ./internal | sort | uniq -d); [ -z "${x}" ] || ( echo duplicated GUID detected $x; exit 1; ) diff --git a/internal/controller/cloud-control/vpcpeering_aws_test.go b/internal/controller/cloud-control/vpcpeering_aws_test.go index b429e928e..44489d275 100644 --- a/internal/controller/cloud-control/vpcpeering_aws_test.go +++ b/internal/controller/cloud-control/vpcpeering_aws_test.go @@ -70,7 +70,7 @@ var _ = Describe("Feature: KCP VpcPeering", func() { ) }) - vpcpeeringName := "b76ff161-c288-44fa-a295-8df2076af6a5" + vpcpeeringName := "1839c399-c52e-4b43-b156-4b51027508cd" vpcpeering := &cloudcontrolv1beta1.VpcPeering{} By("When KCP VpcPeering is created", func() {