Skip to content

Commit d3178c8

Browse files
committed
Update
1 parent 7990ac0 commit d3178c8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

tests-e2e/argocd/queryscoped_cluster_secrets_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ var _ = Describe("Argo CD Application tests", func() {
208208

209209
DescribeTable("ensure users cannot deploy to another user's namespace, when using different Argo CD cluster secrets for each user, each with a query parameter", func(clusterScoped bool) {
210210

211+
if fixture.IsGitHubK3D() {
212+
Skip("when running on GitHub CI via K3d, we don't have an API endpoint IP we can use, so skip")
213+
return
214+
}
215+
211216
createServiceAccountsAndSecretsForTest(clusterScoped)
212217

213218
Expect(users).To(HaveLen(2))

tests-e2e/fixture/fixture.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,14 +1041,14 @@ func SkipIfArgoCDOperandRequired() {
10411041
func IsArgoCDOperandAvailable() bool {
10421042

10431043
k8sConfig, err := GetServiceProviderWorkspaceKubeConfig()
1044-
Expect(err).To(BeNil())
1044+
Expect(err).ToNot(HaveOccurred())
10451045

10461046
k8sClient, err := GetKubeClient(k8sConfig)
1047-
Expect(err).To(BeNil())
1047+
Expect(err).ToNot(HaveOccurred())
10481048

10491049
crdList := &apiexts.CustomResourceDefinitionList{}
10501050
err = k8sClient.List(context.Background(), crdList)
1051-
Expect(err).To(BeNil())
1051+
Expect(err).ToNot(HaveOccurred())
10521052

10531053
argoCDCRFound := false
10541054
for _, crd := range crdList.Items {

0 commit comments

Comments
 (0)