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:
|
By("create GatewayClass") |
|
gatewayClassName := fmt.Sprintf("apisix-%d", time.Now().Unix()) |
|
err = s.CreateResourceFromString(fmt.Sprintf(gatewayClassSpec, gatewayClassName, s.GetControllerName())) |