mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
chore: some clean-up to e2e tests (#143)
Signed-off-by: bitliu <bitliu@tencent.com>
This commit is contained in:
@@ -49,9 +49,6 @@ type Applier struct {
|
||||
|
||||
// IngressClass will be used as the spec.gatewayClassName when applying Gateway resources
|
||||
IngressClass string
|
||||
|
||||
// ControllerName will be used as the spec.controllerName when applying GatewayClass resources
|
||||
ControllerName string
|
||||
}
|
||||
|
||||
// prepareNamespace adjusts the Namespace labels.
|
||||
|
||||
@@ -70,7 +70,6 @@ type ConformanceTestSuite struct {
|
||||
RoundTripper roundtripper.RoundTripper
|
||||
GatewayAddress string
|
||||
IngressClassName string
|
||||
ControllerName string
|
||||
Debug bool
|
||||
Cleanup bool
|
||||
BaseManifests string
|
||||
@@ -150,10 +149,8 @@ func New(s Options) *ConformanceTestSuite {
|
||||
// in the cluster. It also ensures that all relevant resources are ready.
|
||||
func (suite *ConformanceTestSuite) Setup(t *testing.T) {
|
||||
t.Logf("Test Setup: Ensuring IngressClass has been accepted")
|
||||
suite.ControllerName = suite.IngressClassName
|
||||
|
||||
suite.Applier.IngressClass = suite.IngressClassName
|
||||
suite.Applier.ControllerName = suite.ControllerName
|
||||
|
||||
t.Logf("Test Setup: Applying base manifests")
|
||||
suite.Applier.MustApplyWithCleanup(t, suite.Client, suite.TimeoutConfig, suite.BaseManifests, suite.Cleanup)
|
||||
|
||||
Reference in New Issue
Block a user