api7 / api7/api7-ingress-controller

test: gatewayclasss resources can be normally deleted after the test is completed

Open
#245 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
5
Forks
5
Avg merge
2d 7h
Merged PRs (30d)
10

Description

In the current test process, there may be a situation where the gatewayclass is not deleted normally. We need to consider how to delete normally.

ref: https://github.com/api7/api7-ingress-controller/blob/1d99fadfeba4e0431b3a2848ea65b9a624e11081/test/e2e/crds/v1alpha1/gatewayproxy.go#L143-L145

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with test/e2e/crds/v1alpha1/gatewayproxy.go, especially the referenced lines 143-145, and trace how GatewayClass resources are cleaned up when the test completes. Run the relevant end-to-end test and verify that the GatewayClass is deleted normally without remaining resources or cleanup failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.