Skip to content

e2e script improvement #1#1488

Merged
anujmaheshwari1 merged 4 commits into
masterfrom
amaheshwari/e2eImprovement
Jan 31, 2022
Merged

e2e script improvement #1#1488
anujmaheshwari1 merged 4 commits into
masterfrom
amaheshwari/e2eImprovement

Conversation

@anujmaheshwari1
Copy link
Copy Markdown
Contributor

What this PR addresses:

  1. Bug: ACS-Test does Garbage Collection every 3 days. This deleted the MC RG corresponding to agentbaker_e2e cluster, however, the cluster itself isn't deleted, causing an error while retrieving cluster-info referring to a deleted MC RG.
    Fix: Added logic to check if cluster exists and MC RG doesn't and carry out proper cleanup

  2. Bug: Logic to check if Pod successfully runs on a newly joined Node checks as -> kubectl get pods -o wide | grep 'Running', which can result in false-positive w.r.t any Running pod.
    Fix: grep pod first, then test for 'Running'

  3. Improvement: Randomize the Pod container name to avoid errors in concurrent runs

@anujmaheshwari1 anujmaheshwari1 temporarily deployed to test January 31, 2022 19:56 Inactive
@anujmaheshwari1 anujmaheshwari1 temporarily deployed to test January 31, 2022 20:00 Inactive
@anujmaheshwari1 anujmaheshwari1 temporarily deployed to test January 31, 2022 20:08 Inactive
Copy link
Copy Markdown
Contributor

@alexeldeib alexeldeib left a comment

Choose a reason for hiding this comment

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

lgtm

@anujmaheshwari1 anujmaheshwari1 temporarily deployed to test January 31, 2022 21:01 Inactive
@anujmaheshwari1 anujmaheshwari1 merged commit 61e3109 into master Jan 31, 2022
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.

2 participants