Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: run all tests in CI #319

Merged
merged 3 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading