Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Rae Kim <[email protected]>
  • Loading branch information
yiraeChristineKim committed Oct 9, 2023
1 parent c774fb1 commit d7565cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
make deploy-ci NAMESPACE=mygatekeeper IMG=localhost:5000/gatekeeper-operator:$GITHUB_SHA
kubectl -n mygatekeeper wait deployment/gatekeeper-operator-controller --for condition=Available --timeout=90s
kubectl -n mygatekeeper logs deployment/gatekeeper-operator-controller -c manager -f > operator.log &
make test-e2e NAMESPACE=mygatekeeper LABEL_FILTER=configSync
make test-e2e NAMESPACE=mygatekeeper LABEL_FILTER=config
- name: Debug
if: ${{ failure() }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ test: manifests generate fmt vet envtest ## Run tests.
LABEL_FILTER=gatekeeper-controller
.PHONY: test-e2e
test-e2e: e2e-dependencies generate fmt vet install-crds ## Run e2e tests, using the configured Kubernetes cluster in ~/.kube/config
GOFLAGS=$(GOFLAGS) USE_EXISTING_CLUSTER=true $(GINKGO) ./test/e2e --trace --label-filter=$(LABEL_FILTER) --fail-fast -- --namespace $(NAMESPACE) --timeout="5m" --delete-timeout="10m"
GOFLAGS=$(GOFLAGS) USE_EXISTING_CLUSTER=true $(GINKGO) ./test/e2e --trace --fail-fast --label-filter="$(LABEL_FILTER)" -- --namespace $(NAMESPACE) --timeout="5m" --delete-timeout="10m"

.PHONY: test-cluster
test-cluster: ## Create a local kind cluster with a registry for testing
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/case1_audit_from_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var templateGVR = schema.GroupVersionResource{
Resource: "constrainttemplates",
}

var _ = Describe("Test auditFromCache", Label("configSync"), Ordered, func() {
var _ = Describe("Test auditFromCache", Label("config"), Ordered, func() {
BeforeAll(func() {
if !useExistingCluster() {
Skip("Test requires existing cluster. Set environment variable USE_EXISTING_CLUSTER=true and try again.")
Expand Down

0 comments on commit d7565cf

Please sign in to comment.