e2e-tests (2/4): Add parallel cluster-based e2e tests via gingko #408
Draft
nikatza wants to merge 2 commits into
Draft
e2e-tests (2/4): Add parallel cluster-based e2e tests via gingko #408nikatza wants to merge 2 commits into
gingko #408nikatza wants to merge 2 commits into
Conversation
kind-based mode to e2e testing infrastructure
kind-based mode to e2e testing infrastructurekind-based mode and enable parallel tests via gingko
kind-based mode and enable parallel tests via gingkokind-based mode and enable parallel tests via gingko
kind-based mode and enable parallel tests via gingkogingko
82d714b to
829e761
Compare
dadc52e to
4e9ecec
Compare
be16d2f to
e20ae93
Compare
Add cluster mode for running gNMI controller tests against a Kind cluster. Tests are isolated via //go:build cluster tag and run with: make test-e2e-cluster PROVIDER=cisco-nxos-gnmi New files: - cluster_suite_test.go: Ginkgo suite with SynchronizedBeforeSuite for parallel execution - cluster_test.go: Manager setup tests and reconciliation tests - testutil/cluster.go: ClusterEnvironment helper for kubectl operations - testdata/cisco-nxos-gnmi/interfaces.txt: Test fixture for Interface reconciliation Makefile additions: - test-e2e-cluster: Run cluster tests with -tags=cluster - test-e2e-envtest: (placeholder) Run envtest tests with -tags=envtest - PROVIDER variable for selecting test provider Signed-off-by: Pujol <enric.pujol@sap.com>
…velop - Add install-ginkgo target for ginkgo CLI - Add PROVIDER variable for provider selection - Add GINKGO_PROCS variable for parallel test execution - Add test-e2e-cluster target for cluster-based e2e tests - Update deploy/undeploy to use config/develop instead of config/default Signed-off-by: Pujol <enric.pujol@sap.com>
8b82070 to
e0403cc
Compare
8e09f5a to
db4c465
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable running tests again a Kind cluster. The test suite uses Ginkgo's parallel execution capabilities and includes Manager deployment validation. Each test gets its dedicated namespace with a gnmi-test-server pod.