Skip to content

Commit

Permalink
Merge pull request #319 from sthaha/fix-ci-test
Browse files Browse the repository at this point in the history
fix: run all tests in CI
  • Loading branch information
vprashar2929 authored Dec 4, 2023
2 parents 6b27889 + cbadcc9 commit 8af3e27
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions bundle/manifests/kepler-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ metadata:
capabilities: Basic Install
categories: Monitoring
containerImage: quay.io/sustainable_computing_io/kepler-operator:0.9.2
createdAt: "2023-11-30T08:58:07Z"
createdAt: "2023-12-04T08:14:16Z"
description: 'Deploys and Manages Kepler on Kubernetes '
operators.operatorframework.io/builder: operator-sdk-v1.27.0
operators.operatorframework.io/internal-objects: |-
Expand Down Expand Up @@ -258,7 +258,7 @@ spec:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
initialDelaySeconds: 20
periodSeconds: 20
name: manager
ports:
Expand All @@ -269,8 +269,8 @@ spec:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
initialDelaySeconds: 20
periodSeconds: 20
resources:
limits:
cpu: 500m
Expand Down
6 changes: 3 additions & 3 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ spec:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
initialDelaySeconds: 20
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
initialDelaySeconds: 20
periodSeconds: 20
# TODO(user): Configure the resources accordingly based on the project requirements.
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/kepler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func TestBadKepler_Reconciliation(t *testing.T) {
k := f.CreateKepler("invalid-name")

ds := appsv1.DaemonSet{}
f.AssertNoResourceExists(k.Name, controllers.BpfAttachMethodAnnotation, &ds)
f.AssertNoResourceExists(k.Name, controllers.KeplerDeploymentNS, &ds)
}

func TestNodeSelector(t *testing.T) {
Expand Down
1 change: 0 additions & 1 deletion tests/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ run_e2e() {
local ret=0
go test -v -failfast -timeout $TEST_TIMEOUT \
./tests/e2e/... \
-run Reconcile \
2>&1 | tee "$LOGS_DIR/e2e.log" || ret=1

# terminate both log_events
Expand Down

0 comments on commit 8af3e27

Please sign in to comment.