feat(build): Add new test binaries for autoscaler, node IO stress, and network duplication

- Updated Dockerfile and generate_go_binary script to include new test binaries for pod-autoscaler, node-io-stress, and pod-network-duplication.
- Enhanced the build process to ensure all relevant experiments are compiled and ready for execution.

Signed-off-by: Sky Singh <akashsingh2210670@gmail.com>
This commit is contained in:
Sky Singh 2025-05-28 17:26:49 +05:30
parent 45cc8ed6f8
commit 1f81bded78
No known key found for this signature in database
GPG Key ID: 0FE88BD41A5B05BF
2 changed files with 9 additions and 0 deletions

View File

@ -37,6 +37,9 @@ RUN go test -o build/_output/pod-network-corruption -c experiments/pod-network-c
RUN go test -o build/_output/pod-network-latency -c experiments/pod-network-latency_test.go -v -count=1
RUN go test -o build/_output/pod-network-loss -c experiments/pod-network-loss_test.go -v -count=1
RUN go test -o build/_output/disk-fill -c experiments/disk-fill_test.go -v -count=1
RUN go test -o build/_output/pod-autoscaler -c experiments/pod-autoscaler_test.go -v -count=1
RUN go test -o build/_output/node-io-stress -c experiments/node-io-stress_test.go -v -count=1
RUN go test -o build/_output/pod-network-duplication -c experiments/pod-network-duplication_test.go -v -count=1
# Build the all-experiments binary
RUN cd experiments && go test -o ../build/_output/all-experiments -c -v -count=1

View File

@ -35,6 +35,12 @@ go test -o build/_output/pod-network-latency -c experiments/pod-network-latency_
go test -o build/_output/pod-network-loss -c experiments/pod-network-loss_test.go -v -count=1
#Creating go binary for disk-fill test
go test -o build/_output/disk-fill -c experiments/disk-fill_test.go -v -count=1
#Creating go binary for pod-autoscaler test
go test -o build/_output/pod-autoscaler -c experiments/pod-autoscaler_test.go -v -count=1
#Creating go binary for node-io-stress test
go test -o build/_output/node-io-stress -c experiments/node-io-stress_test.go -v -count=1
#Creating go binary for pod-network-duplication test
go test -o build/_output/pod-network-duplication -c experiments/pod-network-duplication_test.go -v -count=1
#Creating go binary for all the tests
cd experiments && go test -o ../build/_output/all-experiments -c -v -count=1