Skip to content

Commit 7b654ce

Browse files
authored
Merge pull request #129 from gofed/test-e2e-just-run-the-binary
test-e2e: just run the binary with the default example
2 parents 88bce4d + 4c4c20c commit 7b654ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/run-e2e-tests.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ fi
3232

3333
PRJ_PREFIX="sigs.k8s.io/cluster-capacity"
3434
go test ${PRJ_PREFIX}/test/e2e/ -v
35+
36+
# Just test the binary works with the default example pod spec
37+
# See https://github.com/kubernetes-sigs/cluster-capacity/pull/127 for more detail
38+
go build -o hypercc sigs.k8s.io/cluster-capacity/cmd/hypercc
39+
ln -sf hypercc cluster-capacity
40+
41+
./cluster-capacity --kubeconfig ~/.kube/config --podspec examples/pod.yaml --verbose

0 commit comments

Comments
 (0)