aws / aws/eks-anywhere

Check for status of upgrade/delete instead of have sleeps in E2E

Open
#1,687 0 comments 0 reactions 0 assignees View on GitHub
area/testing kind/cleanup team/cli
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

We should be checking for the status here on whether we can perform the next action or not, whether it is a prevalidation in the delete command or a status check in the e2e tests. That way we can remove our reliance on these arbitrary 5 min sleeps.

https://github.com/aws/eks-anywhere/blob/main/test/e2e/multicluster.go#L22

Contributor guide

Open the contributing guide

Research direction

Start at test/e2e/multicluster.go#L22 and inspect the upgrade and delete flows that currently rely on five-minute sleeps. Trace the available status or prevalidation checks before each next action. Done means the E2E flow waits on status rather than arbitrary sleeps and still verifies the upgrade and delete operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go, kubernetes
Domain
infrastructure, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.