mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
refactor(v2): upgrade module to github.com/alibaba/higress/v2 (#2922)
Signed-off-by: Xijun Dai <daixijun1990@gmail.com>
This commit is contained in:
@@ -20,18 +20,17 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/alibaba/higress/test/e2e/conformance/utils/roundtripper"
|
||||
"github.com/alibaba/higress/test/e2e/conformance/utils/suite"
|
||||
"net/url"
|
||||
|
||||
"log"
|
||||
"math/rand"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/alibaba/higress/v2/test/e2e/conformance/utils/roundtripper"
|
||||
"github.com/alibaba/higress/v2/test/e2e/conformance/utils/suite"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -45,7 +44,7 @@ var HttpRouteLimiter = suite.ConformanceTest{
|
||||
Manifests: []string{"tests/httproute-limit.yaml"},
|
||||
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
|
||||
t.Run("HTTPRoute limiter", func(t *testing.T) {
|
||||
//wait ingress ready
|
||||
// wait ingress ready
|
||||
time.Sleep(1 * time.Second)
|
||||
client := &http.Client{}
|
||||
TestRps10(t, suite.GatewayAddress, client)
|
||||
|
||||
Reference in New Issue
Block a user