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

feat(main): add controller tests #24

Merged
merged 1 commit into from
Oct 2, 2024
Merged

feat(main): add controller tests #24

merged 1 commit into from
Oct 2, 2024

Conversation

cuisongliu
Copy link
Owner

@cuisongliu cuisongliu commented Oct 2, 2024

This pull request includes significant updates to the testing infrastructure and new end-to-end (E2E) tests for the AutoMQ operator. The most important changes include adding a new job to the GitHub Actions workflow, modifying the Makefile to support E2E tests, and adding new E2E test files.

Enhancements to the GitHub Actions workflow:

Updates to the Makefile:

  • Makefile: Modified the test target to run tests only on the api directory and added a new e2e target to run E2E tests. [1] [2]

New E2E tests:

  • e2e/automq_cluster_test.go: Added a comprehensive E2E test suite for the AutoMQ controller, including setup and teardown procedures.
  • e2e/utils.go: Added utility functions to support E2E tests, such as installing the Prometheus Operator and managing Kubernetes configurations.

Other changes:

@cuisongliu cuisongliu force-pushed the controller-tests branch 4 times, most recently from 226a0d7 to c4ddc82 Compare October 2, 2024 17:19
@cuisongliu cuisongliu merged commit 06ed27f into main Oct 2, 2024
5 checks passed
@cuisongliu cuisongliu deleted the controller-tests branch October 2, 2024 17:37
@github-actions github-actions bot mentioned this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant