Skip to content

refactor: remove load 1.0 #4112

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

Merged
merged 13 commits into from
Jul 25, 2025
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
10 changes: 5 additions & 5 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ tasks:
generate-load-contract-bindings:
desc: Generates load contract bindings
cmds:
- cmd: grep -lr -E '^// Code generated - DO NOT EDIT\.$' tests/load/c | xargs -r rm
- cmd: go generate ./tests/load/c/...
- cmd: grep -lr -E '^// Code generated - DO NOT EDIT\.$' tests/load | xargs -r rm
- cmd: go generate ./tests/load/...

generate-protobuf:
desc: Generates protobuf
Expand Down Expand Up @@ -317,18 +317,18 @@ tasks:
cmds:
- task: generate-load-contract-bindings
- task: build
- cmd: go run ./tests/load2/main --avalanchego-path=./build/avalanchego {{.CLI_ARGS}}
- cmd: go run ./tests/load/main --avalanchego-path=./build/avalanchego {{.CLI_ARGS}}

test-load-exclusive:
desc: Runs load tests against kube with exclusive scheduling
cmds:
- cmd: go run ./tests/load2/main --runtime=kube --kube-use-exclusive-scheduling {{.CLI_ARGS}}
- cmd: go run ./tests/load/main --runtime=kube --kube-use-exclusive-scheduling {{.CLI_ARGS}}

test-load-kube:
desc: Runs load tests against a kubernetes cluster
cmds:
- task: generate-load-contract-bindings
- cmd: go run ./tests/load2/main --runtime=kube {{.CLI_ARGS}}
- cmd: go run ./tests/load/main --runtime=kube {{.CLI_ARGS}}

test-load-kube-kind:
desc: Runs load tests against a kind cluster
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests.load.kube.kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ else
echo "Defaulting to limited-permission context 'kind-kind-tmpnet' to test RBAC Role permissions"
fi

go run ./tests/load2/main --runtime=kube --kube-image="$AVALANCHEGO_IMAGE" "$KUBECONFIG_CONTEXT" "$@"
go run ./tests/load/main --runtime=kube --kube-image="$AVALANCHEGO_IMAGE" "$KUBECONFIG_CONTEXT" "$@"
116 changes: 0 additions & 116 deletions tests/load/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions tests/load/agent.go

This file was deleted.

87 changes: 0 additions & 87 deletions tests/load/c/README.md

This file was deleted.

Loading