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

Adds e2e test for compaction #723

Merged
merged 4 commits into from
Nov 23, 2023
Merged

Conversation

abdasgupta
Copy link
Contributor

@abdasgupta abdasgupta commented Nov 14, 2023

How to categorize this PR?

/area control-plane
/kind test

What this PR does / why we need it:
This PR adds e2e test for compaction in druid

Which issue(s) this PR fixes:
Fixes #704

Special notes for your reviewer:
As we don't have the new release of etcd backup-restore that supports on demand latest snapshot fetch from actual object storage, I used a custom image of etcd backup-restore that support on-demand latest snapshot from actual object storage. Please, delete the commit with the name Uses a custom etcdbrctl image that supports latest snapshot pulled from actual storage. from this PR, once a release is made for etcd backup-restore.

Release note:

Added e2e test for compaction.

@abdasgupta abdasgupta requested a review from a team as a code owner November 14, 2023 08:22
@gardener-robot gardener-robot added area/control-plane Control plane related kind/test Test needs/review Needs review size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) labels Nov 14, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Nov 14, 2023
@ishan16696 ishan16696 added this to the v0.21.0 milestone Nov 16, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Nov 16, 2023
@abdasgupta
Copy link
Contributor Author

/test pull-etcd-druid-e2e-kind

Copy link
Contributor

@seshachalam-yv seshachalam-yv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @abdasgupta for adding E2E tests

Please address my NIT comments

charts/images.yaml Outdated Show resolved Hide resolved
charts/images.yaml Outdated Show resolved Hide resolved
test/e2e/etcd_compaction_test.go Outdated Show resolved Hide resolved
test/e2e/etcd_compaction_test.go Outdated Show resolved Hide resolved
charts/druid/values.yaml Outdated Show resolved Hide resolved
skaffold.yaml Outdated Show resolved Hide resolved
test/e2e/etcd_compaction_test.go Outdated Show resolved Hide resolved
@gardener-robot gardener-robot added the needs/changes Needs (more) changes label Nov 17, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Nov 17, 2023
@abdasgupta
Copy link
Contributor Author

/test pull-etcd-druid-e2e-kind-alpha-features

Copy link
Contributor

@seshachalam-yv seshachalam-yv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Merge this PR once etcd-backup-restore is released

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/changes Needs (more) changes needs/review Needs review labels Nov 21, 2023
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Nov 21, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Nov 23, 2023
@shreyas-s-rao
Copy link
Contributor

@seshachalam-yv this PR will not pass until #726 is merged. Please rebase this on master once #726 has been merged

@gardener-robot-ci-3 gardener-robot-ci-3 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Nov 23, 2023
@ishan16696 ishan16696 merged commit 6330f27 into gardener:master Nov 23, 2023
1 check passed
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Nov 23, 2023
@abdasgupta abdasgupta deleted the e2e-test branch November 30, 2023 08:10
renormalize pushed a commit to renormalize/etcd-druid that referenced this pull request Dec 12, 2023
* Added e2e tests for compaction.

* Fetches options for ETCD Druid through skaffold.

* Fixes compaction for distroless image of etcd backup-restore.

* Address Sesha's second review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/test Test needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging size/m Size of pull request is medium (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add compaction tests to e2e test suite
8 participants